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: 56 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:













ms-project issue-- urgent help

open txt file in notepad

what's wrong with this feed, please?

constructing a datetime from two seperate variables

displaying a "session timeout" page

how do i pull text from a data list

image maps

can't enable radiobuttonlist with javascript when control is disabled server-side (ie only)

dataview sorting

debugging in asp.net

checking the value of a session?

javascript insertion

javascript?

email ?

deploy a .net website w/o source files?

wsa problem

linq to sql w/ multiple tables

probem in building a asp.net web application

credit card payment system

how to drop http request?

mappath

ie certificate with windows service

development server

creating custom classes

asp.net cross browser help needed

no asp.net

search.aspx no results found? help is needed here.

cant find a proper reference for namespace that includes remoteservice

qa practice

converting nano seconds into datetime

.aspx file icon

force page to refresh after button click /postback

problem with page.clientquerystring and webrequest

personal forum signature - special caracters to display an image

creating .pdf files from asp.net

what's a valid server control id?

add columns to datagrid

checkbox checked event

tracing the referring site.

sending an email with database data

ambigous name problem when using a custom api

retrieving data through prompt box

i have no workspace menu!

constant expression is required.

how to iterate through a form collection in asp.net

the command prompt

font to need

viewing the page in the browser

keeping text bold when textbox disabled

to create a new website from a web application project, what do i exclude?

   
  Privacy | Contact Us
All Times Are GMT