Problem with asp-net apps

G

Guest

Hi,
I'm new to .Net. I've installed visualstudio.net 2003. There were no
problems in set up. But my asp.net web applications are not running properly.
Sometimes, the Page_load event doesn't fire properly and sometimes the
changes in teh web page are nort getting reflected. I've tried to debug. But
I'm unable to debug the application too. (Windows apps are getting debugged).
CAn anyone help me out.

Note: I've installed the IIS after installing the .Net.Does it cause any
problem?
I've included myslef in the Debuggers' list too. I tried uninstalling and
reinstalling the software. But it didn't work out. But there is no problem
with s\w as otehrs have successfully installed it. My OS is win 2000 prof.



I've tried reregistering asp_net . But I encountered teh followign error.

"The web server reported the following error when attemptinh to create or
open the web project located at the following URL:
'http;\\localhost\WebApllication2', 'HTTP\1.1403 Access Forbidden'."

I've also set teh execution permissions to 'Scripts only' in the Home
Directory Tab.

But still the problem is persisting. Can anyone help me out
 
G

Guest

Hi,

I am not sure about this, but check whether the ASPNET user account has the
proper rights to C:\ and wwwroot.

HTH,
Rakesh Rajan
 
D

Developer

Hi,

To fix this do the following...


1) Goto Command Prompt and run IISRESET
2) change to %Windir%\Microsoft.NET\Framework\v<Framework version>
3) Register the aspnet_isapi.dll using regsvr32 aspnet_isapi.dll (NOTE: This
might take around 1 minute to show up the success dialog)
4) Run aspnet_regiis.exe
5) Run IISRESET

You problem should get resolved.

There is a known issue with
IIS and .Net Framework that if the IIS is installed after the installation
of .NET Framework it does not register the ASP.NET.

Hope I have addressed your question

-Niloday
 
D

Developer

Hi,

Here is a correction to my earilier post (added below for your reference).

Please read the instruction number 4 as ...
4) Run aspnet_regiis.exe -i

Apologise for the mistake.

Regards
-Niloday
-------------------------------------
Hi,

To fix this do the following...


1) Goto Command Prompt and run IISRESET
2) change to %Windir%\Microsoft.NET\Framework\v<Framework version>
3) Register the aspnet_isapi.dll using regsvr32 aspnet_isapi.dll (NOTE: This
might take around 1 minute to show up the success dialog)
4) Run aspnet_regiis.exe
5) Run IISRESET

You problem should get resolved.

I am not sure what happened in your case, but there is a known issue with
IIS and .Net Framework that if the IIS is installed after the installation
of .NET Framework it does not register the ASP.NET.

Hope I have addressed your question

-Niloday
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top