473,385 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

ASP.Net does not work after IIS uninstall/reinstall

Due to real ds mistake on my part IIS was inadvertently uninstalled on my web server.

After reinstalling IIS, I have been able to get everything back up except ASP.net.

Any page served using ASP.net returns the generic Runtime Error page....

Server Error in '/Qmcfm' Application.
------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings.... etc

I can't get the details of the error to display no matter what I set <customErrors mode> to in my web.config file.

Another section of the web site uses ASP which seems to be running fine.

I use the aspnet_regiis tool with the -i switch to register the Framework and it did not fix the problem

I tried to reinstall the framework from my MSDN Library but the installer tells me that it cannot complete the install because the framework was installed with the Operating System.

I reinstalled the Operating System (2003) and it remains inop

Any help would be greatly appreciated. I have posted the <system.web> portion of my web.config file, but I don't think it's ever getting here

Thanks in advance

Joh

------------------------------------------------

<system.web><!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to insert debugging symbols (.pdb information)
into the compiled page. Because this creates a larger file that executes
more slowly, you should set this value to true only when debugging and to
false at all other times. For more information, refer to the documentation about
debugging ASP.NET files.
--><compilation defaultLanguage="vb" debug="true" /><!-- CUSTOM ERROR MESSAGES
Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable.
Add <error> tags for each of the errors you want to handle.
--><customErrors mode="Off" /><!-- AUTHENTICATION
This section sets the authentication policies of the application. Possible modes are "Windows",
"Forms", "Passport" and "None"
--><authentication mode="Windows" /><!-- AUTHORIZATION
This section sets the authorization policies of the application. You can allow or deny access
to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous
(unauthenticated) users.
--><authorization><allow users="?" /><!-- Allow all users --><!-- <allow users="john"/>
roles="[comma separated list of roles]"/><deny users="?"/>
roles="[comma separated list of roles]"/> --></authorization><!-- APPLICATION-LEVEL TRACE LOGGING
Application-level tracing enables trace log output for every page within an application.
Set trace enabled="true" to enable application trace logging. If pageOutput="true", the
trace information will be displayed at the bottom of each page. Otherwise, you can view the
application trace log by browsing the "trace.axd" page from your web application
root.
--><trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" /><!-- SESSION STATE SETTINGS
By default ASP.NET uses cookies to identify which requests belong to a particular session.
If cookies are not available, a session can be tracked by adding a session identifier to the URL.
To disable cookies, set sessionState cookieless="true".
--><sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;user id=sa;password="
cookieless="false"
timeout="20"
/><!-- GLOBALIZATION
This section sets the globalization settings of the application.
--><globalization requestEncoding="utf-8" responseEncoding="utf-8" /><trust level="Full" originUrl="" /></system.web>
Nov 18 '05 #1
4 1926
Find aspnet_regiis on your machine (typically
%systemdir%\microsoft.net\framework\v1.1.4322) and run

aspnet_regiis - i

This will install all the scriptmaps and client files for ASP.NET to
execute.

HTH,

--
Scott
http://www.OdeToCode.com

On Tue, 25 May 2004 09:31:04 -0700, "johnbdh"
<an*******@discussions.microsoft.com> wrote:
Due to real ds mistake on my part IIS was inadvertently uninstalled on my web server.

After reinstalling IIS, I have been able to get everything back up except ASP.net.

Any page served using ASP.net returns the generic Runtime Error page....

Server Error in '/Qmcfm' Application.
------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings.... etc.

I can't get the details of the error to display no matter what I set <customErrors mode> to in my web.config file.

Another section of the web site uses ASP which seems to be running fine.

I use the aspnet_regiis tool with the -i switch to register the Framework and it did not fix the problem.

I tried to reinstall the framework from my MSDN Library but the installer tells me that it cannot complete the install because the framework was installed with the Operating System.

I reinstalled the Operating System (2003) and it remains inop.

Any help would be greatly appreciated. I have posted the <system.web> portion of my web.config file, but I don't think it's ever getting here.

Thanks in advance,

John
-------------------------------------------------

<system.web><!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to insert debugging symbols (.pdb information)
into the compiled page. Because this creates a larger file that executes
more slowly, you should set this value to true only when debugging and to
false at all other times. For more information, refer to the documentation about
debugging ASP.NET files.
--><compilation defaultLanguage="vb" debug="true" /><!-- CUSTOM ERROR MESSAGES
Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable.
Add <error> tags for each of the errors you want to handle.
--><customErrors mode="Off" /><!-- AUTHENTICATION
This section sets the authentication policies of the application. Possible modes are "Windows",
"Forms", "Passport" and "None"
--><authentication mode="Windows" /><!-- AUTHORIZATION
This section sets the authorization policies of the application. You can allow or deny access
to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous
(unauthenticated) users.
--><authorization><allow users="?" /><!-- Allow all users --><!-- <allow users="john"/>
roles="[comma separated list of roles]"/><deny users="?"/>
roles="[comma separated list of roles]"/> --></authorization><!-- APPLICATION-LEVEL TRACE LOGGING
Application-level tracing enables trace log output for every page within an application.
Set trace enabled="true" to enable application trace logging. If pageOutput="true", the
trace information will be displayed at the bottom of each page. Otherwise, you can view the
application trace log by browsing the "trace.axd" page from your web application
root.
--><trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" /><!-- SESSION STATE SETTINGS
By default ASP.NET uses cookies to identify which requests belong to a particular session.
If cookies are not available, a session can be tracked by adding a session identifier to the URL.
To disable cookies, set sessionState cookieless="true".
--><sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;user id=sa;password="
cookieless="false"
timeout="20"
/><!-- GLOBALIZATION
This section sets the globalization settings of the application.
--><globalization requestEncoding="utf-8" responseEncoding="utf-8" /><trust level="Full" originUrl="" /></system.web>


Nov 18 '05 #2
Scott

Thanks for the suggestion. As noted in my original message I ran aspn_regiis with the -i switch and it did not fix the problem. Are there any other switches which might be useful in troubleshooting or fixing this problem

Joh
On Tue, 25 May 2004 10:11am, "Scott Allen" wrote
Find aspnet_regiis on your machine (typically
%systemdir%\microsoft.net\framework\v1.1.4322) and run aspnet_regiis - i This will install all the scriptmaps and client files for ASP.NET to
execute.


Nov 18 '05 #3
Ooops, big apology for not paying attention, John.

I've seen this happen once when there were security problems with the
ASPNET account, but that was a Win2K server. Still it might be worth a
shot to enable security logging from administrative tools -> local
security policy -> local policies -> audit policies, and from there
enable failure logging for logon and object access events. this may
turn up some more clues in the Security event log.

Apologies again for the confusion. Let me know if you find anything in
the logs.

--s

On Tue, 25 May 2004 12:36:06 -0700, "johnbdh"
<an*******@discussions.microsoft.com> wrote:
Scott,

Thanks for the suggestion. As noted in my original message I ran aspn_regiis with the -i switch and it did not fix the problem. Are there any other switches which might be useful in troubleshooting or fixing this problem?

John

On Tue, 25 May 2004 10:11am, "Scott Allen" wrote:
Find aspnet_regiis on your machine (typically
%systemdir%\microsoft.net\framework\v1.1.4322) and run

aspnet_regiis - i

This will install all the scriptmaps and client files for ASP.NET to
execute.


--
Scott
http://www.OdeToCode.com
Nov 18 '05 #4
Scott

That is what I was looking for but didn't think to ask. I looked at the logs but didn't know how to make them log anything when I tried to run the app. Thanks!

Unfortunately I am off to the mainland for a week and won't be able to check it oun until I get back on Monday

Thanks again

Joh
----- Scott Allen wrote: ----

Ooops, big apology for not paying attention, John.

I've seen this happen once when there were security problems with th
ASPNET account, but that was a Win2K server. Still it might be worth
shot to enable security logging from administrative tools -> loca
security policy -> local policies -> audit policies, and from ther
enable failure logging for logon and object access events. this ma
turn up some more clues in the Security event log

Apologies again for the confusion. Let me know if you find anything i
the logs.

--

On Tue, 25 May 2004 12:36:06 -0700, "johnbdh
<an*******@discussions.microsoft.com> wrote
Scott
Thanks for the suggestion. As noted in my original message I ran aspn_regiis with the -i switch and it did not fix the problem. Are there any other switches which might be useful in troubleshooting or fixing this problem
Joh
On Tue, 25 May 2004 10:11am, "Scott Allen" wrote
Find aspnet_regiis on your machine (typically

%systemdir%\microsoft.net\framework\v1.1.4322) and run
aspnet_regiis - i
This will install all the scriptmaps and client files for ASP.NET to

execute.


-
Scot
http://www.OdeToCode.com
Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Lian Liming | last post by:
Hi, I want to uninstall php5beta4 which was installed using the .tar.gz source code. I delete the module "libphp5.so" under the apache2 module directory, and then delete all files under...
1
by: Ann | last post by:
Can I use visual studio .net cd again to reinstall it after 60 days expiration Thanks for any suggestions
6
by: tuuky | last post by:
I've created a Windows Service in C# and an installer project for it. I installed the service using the packaged installer project and the service was installed correctly and it runs fine. ...
12
by: Frank Hauptlorenz | last post by:
Hello Out there! I have a DB2 V7.2 Database (Fix11) on Win 2000 Professional. It was before a NT 4 based Domain - now it is a Win 2000 Domain. The database server is a domain member. Now...
9
by: Fan Ruo Xin | last post by:
Hi, We only purchased db2 udb license for AIX platforms. So I have to install the DB2 UDB Version8.1 tried code on my laptop (Win2k). I haven't used it for a long time. When I tried to bring the...
1
by: smith | last post by:
I was recently set to release an app that used very common single instance code and hit the oddest issue. After many hours of full build tests I believe that it is duplicatable. Environment: ...
4
by: VB Programmer | last post by:
I am having trouble reinstalling VS2003 using the "standard way". I can't even uninstall VS2003 using the "standard" method. Any suggestions on how I can completely remove VS2003 so I can...
6
by: Mendis | last post by:
Hello I have recently installed DB2 express on UBUNTU and am not able to get it to start. I decided to uninstall and reinstall DB2. When I enter the command sudo ./db2_deinstall it says "No DB2...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.