Friday, March 9, 2012

Removing namespace in web.config

We had an instance of RS2005 running for a while and we received this error
after playing around with the authentication settings when we browsed to
localhost/reportserver:
An internal error occurred on the report server. See the error log for more
details. (rsInternalError) Get Online Help
Object reference not set to an instance of an object.
After fumbling around a bit, we found out that if we removed the XML
namespace in the ReportServer/web.config file, it would start working again.
We changed this line in the web.config file from this:
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
To this:
<configuration>
We find this to be very odd. Why did we have to change the web.config?That change was bad...
It appears that your ASP.NET 2.0 install was hosed. From the look of things,
it appears it may be using the 1.1 framework (I don't see how that is
possible - but nevertheless)
Put that line of code back in, and then try this:
From a command prompt:
cd \windows\microsoft.net\framework\v2.*
aspnet_regiis -i -enable
reboot
then Start->Run
http://localhost/Reports
does it show up?
=-Chris
"David" <dilworth@.newsgroups.nospam> wrote in message
news:B3252184-8CBB-407E-B8CB-A8AD5BA52B17@.microsoft.com...
> We had an instance of RS2005 running for a while and we received this
> error
> after playing around with the authentication settings when we browsed to
> localhost/reportserver:
> An internal error occurred on the report server. See the error log for
> more
> details. (rsInternalError) Get Online Help
> Object reference not set to an instance of an object.
> After fumbling around a bit, we found out that if we removed the XML
> namespace in the ReportServer/web.config file, it would start working
> again.
> We changed this line in the web.config file from this:
> <configuration
> xmlns="">http://schemas.microsoft.com/.NetConfiguration/v2.0">
> To this:
> <configuration>
> We find this to be very odd. Why did we have to change the web.config?

No comments:

Post a Comment