CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 9/7/2006 4:04:02 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 8 Views: 60 Favorited: 0 Favorite
9 Items, 1 Pages 1 |< << Go >> >|
"wizbay" <>
NewsGroup User
How is ASP.NET development server different from regular IIS server on windows xp pro?9/7/2006 4:04:02 AM

0

I was trying to implement two functionalities in asp.net with vb.net.

Somehow it's working if I build website using Ctrl + F5 (ASP.NET development server) but it doesn't work if I just use regular way.

 One function is to create virtual directory in IIS using vb.net. Souce code address is http://www.vbforums.com/printthread.php?t=347207

The other one is to send email using system.net.mail. Source address is http://forums.asp.net/thread/1225569.aspx

Both of them works only on ASP.NET development server but on IIS server of windows xp pro sp2.

Is this some kind of setting problem? 

 I have installed visual studio 2005, sql 2005 studio, framework 2.0.

Did anyone have same experience?

"Jasson_King" <
NewsGroup User
Re: How is ASP.NET development server different from regular IIS server on windows xp pro?9/7/2006 6:19:35 AM

0

ASP.NET Development Server

Visual Studio 2005 ships with a new Web server called ASP.NET Development Server. (This Web server was previously known as Cassini.) 

 

There are several benefits of the ASP.NET Development Server.

  • It is now possible for non-Administrators to develop and debug against a Web server.
  • The ASP.NET Development Server dynamically maps virtual directories to any location in the file system allowing for flexible project locations.
  • Users on Windows XP Professional who are already using IIS will now be able to create new Web applications that will not affect the file or folder structure of their Default Web Site in IIS.

No special configuration is required to take advantage of the ASP.NET Development Server.  When a Web project that is hosted on the file system is debugged or browsed, Visual Studio 2005 will automatically start an instance of the ASP.NET Development Server on a random port to service the request.


Sincerely,
Jasson Wang
Microsoft Online Community Support

This posting is provided "AS IS" with no warranties, and confers no rights
"Jasson_King" <
NewsGroup User
Re: How is ASP.NET development server different from regular IIS server on windows xp pro?9/7/2006 6:20:51 AM

0

I have tried your codes,two functionalities work well.
Sincerely,
Jasson Wang
Microsoft Online Community Support

This posting is provided "AS IS" with no warranties, and confers no rights
"wizbay" <>
NewsGroup User
Re: How is ASP.NET development server different from regular IIS server on windows xp pro?9/7/2006 10:20:42 AM

0

I appreciate your help.

 I don't know what's wrong with mine.

"wizbay" <>
NewsGroup User
Re: How is ASP.NET development server different from regular IIS server on windows xp pro?9/7/2006 10:37:14 AM

0

Mailer is working..I don't know what was wrong with it yesterday. I didn't change anything.

Virtual Directory is not working still. You didn't have to change any permission right?

"Jasson_King" <
NewsGroup User
Re: How is ASP.NET development server different from regular IIS server on windows xp pro?9/7/2006 11:32:08 AM

0

Do you create new virtual directory by manual? If yes,you should right mouse click on your virtual directory and choose Properties,then you will see a dialog.In the Application setting pane,click "Create" button to create Application name and select "Scripts and executables" in the right dropdownlist of Excute Permissions,then click "Apply" and "OK" button to close the dialog.That's all.If you have any questions,we can discuss them here.
Sincerely,
Jasson Wang
Microsoft Online Community Support

This posting is provided "AS IS" with no warranties, and confers no rights
"wizbay" <>
NewsGroup User
Re: How is ASP.NET development server different from regular IIS server on windows xp pro?9/9/2006 9:08:35 PM

0

No, I am trying to do it programatically in VB.NET.

The link I provided above has full source code(asp.net with vb.net) to make virtual directory programatically. And it works.

But it only works for development server (build with Ctrl + F5 in visual studio). With IIS 5.1 (came with win xp pro) gives me access denied error.

It will help me really a lot if you can explain about this to me. 

 It doesn't take long at all (It's got full source code and no additional work) 

 Please help me find out why it's not working with IIS 5.0.

"wizbay" <>
NewsGroup User
Re: How is ASP.NET development server different from regular IIS server on windows xp pro?9/11/2006 7:18:45 PM

0

You said both source worked for you. Do you mind if ask you for the enviroment when you ran the sources?

 Were you using win xp with iis 5 or windows server 2003 with iis 6?

"samsp" <>
NewsGroup User
Re: How is ASP.NET development server different from regular IIS server on windows xp pro?9/11/2006 9:00:03 PM

0

To be able to access the metabase to create the web application, your app will need administrator rights. That won't happen for your application if anonymous authentication is turned on, so turn it off and make sure users are required to authenticate before using the page.

If you are wanting to provision stuff for users who signup for some kind of service, then I'd suggest you look at MPS http://forums.asp.net/167/ShowForum.aspx

 

9 Items, 1 Pages 1 |< << Go >> >|


Free Download:













first time, debugging results in an error in asp.net 2.0

error in windows xp x64 and vs 2005

error when opening built-in web admin tool in v. studio 2005

duplicate profilecommon - web deployment project and web project problem

vs2005 - streamlined?

generated sprocs

what not to do when installing vs 2005 sp1?

can't upload my web application

html validation

vs2005 reporting options - need guidance

no local debug for forms auth?

designer files out of sync with codebehind file and designer ui

multi project template in vs05

how to add a web form of one project to another project?

v1.1 to beta 2 - namespaces not recognized

visual studio 2005 - avp.exe appears in solution explorer

howto share custom user controls between different web applications ?

positioning options

vs2005 and paypal

design view bug? panel widths

desplay int as decimal when debug

migrating beta 2 asp.net to release causes problems.

smart tags won't open and some intellisense won't fully work after installing linq ctp

web site in three languages

is there a function which i can login with it in asp.net 2.0?

visual studio 2005 error 402.1

automation sourcesafeevents

don't appear solutions in vs2005!

install vs2005... vista crash!

vs 2005 error list -- list all asp.net files?

web.config can't find microsoft schema problems

where is web reference properties in vs2005?

debug error

[idea] your favorite feature in visual studio 2005

swithing from debugmode to designmode takes up to 45s. (vs2005sp1, web project)

intelisense not working in vs2005

vs 2005 web application projects under iis

need help with resource files

still having problems with vista and vs2005

problems with web server under windows xp

vs 2005 broken xml editor

analysing results of a test

website publish - exclude images?

please help me about change vs 2005 layout

version control and managing updates

tabbed window layout - opens to left?

toolboxitem problem

go to definition... i don't want the metadata!

how to handle ambiguous dll references ?

how run sql server management?

   
  Privacy | Contact Us
All Times Are GMT