Showing posts with label login. Show all posts
Showing posts with label login. Show all posts

Tuesday, March 27, 2012

Forms Security Extension Sample

Hi,

I have installed the SSRS 2005 Forms based login security extension as per the sample and instructions that come with the product install. I have double checked my work and debugged up to the point explained here.

My user is in the database and I can get to the login page. I have traced the code and can see the user being authenticated properly by server.LogonUser, the authentication cookie being created and placed in the response object, and then the redirect url being set to the reports/pages/folder.aspx. I have employed tcptrace and can see the sqlAuthCookie set in subsequent posts.

Unfortunately the redirect to folder.aspx never happens. I keep returning to UILogon.aspx. I think their is something either wrong with the auth cookie or the web.config in the ReportServer IIS virtual directory. The relevant xml from the web.config is attached below.

I would appreciate any thoughts. I am running on W2K3 SP1. Thanks.

Mitch

<identity impersonate="false" />

<!--<authentication mode="Windows" />-->

<authentication mode="Forms">

<forms loginUrl="logon.aspx" name="sqlAuthCookie" timeout="60" path="/"></forms>

</authentication>

<authorization>

<deny users="?" />

</authorization>

Mitch, are you initially navigating to SSRS by using http://localhost or http://someMachineName?

If you hit your site with http://localhost/reports, you'll see the behavior you're mentioning above: (It's basically a side-effect of the way the code inside the Forms Auth sample is written). Try http://someMachineName/reports instead and see if you have better luck.

|||Thanks, that was it. Now I can proceed with integrating SSRS with IBM Tivoli Access manager!

Forms authentication slow!

Anyone else have this problem? I deployed a custom forms authentication
library with a ASP.NET login page when I go to http://server/reports it just
sits there for a minute with the progress icon spinning in IE then
eventually I get a Threading timeout from Reporting services (in the
attached debugger) and after that the page shows up... anyone else get this
with forms auth? anyone know why it does it or how to stop it?
here is the trace output from my remote debugging session from the time the
page starts to load until it shows the login page.. thanks!
========================== 'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_MSIL\System.Web.RegularExpressions\2.0.0.0__b03f5f7f11d50a3a\System.Web.RegularExpressions.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.JScript\8.0.0.0__b03f5f7f11d50a3a\Microsoft.JScript.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reports\2cbaf422\c4330628\assembly\dl3\f180608d\00083daf_b16dc701\Microsoft.ReportingServices.Diagnostics.DLL',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reports\2cbaf422\c4330628\assembly\dl3\cd47089b\00f2a80e_f54cc701\Microsoft.ReportingServices.Interfaces.DLL',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reports\2cbaf422\c4330628\assembly\dl3\498aee86\00aa0b9e_9bd0c501\ReportingServicesCDOInterop.DLL',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reports\2cbaf422\c4330628\assembly\dl3\4a099978\00d01d81_fd4cc701\ReportingServicesEmailDeliveryProvider.DLL',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reports\2cbaf422\c4330628\assembly\dl3\a890e9c0\00d01d81_fd4cc701\ReportingServicesFileShareDeliveryProvider.DLL',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reports\2cbaf422\c4330628\assembly\dl3\23449648\00d01d81_fd4cc701\ReportingServicesNativeClient.DLL',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reports\2cbaf422\c4330628\assembly\dl3\de5a2332\00fd4e82_fd4cc701\ReportingServicesWebUserInterface.DLL',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reports\2cbaf422\c4330628\assembly\dl3\1d01d363\8d2fe1f3_4c83c701\Res.ReportServerCustomSecurity.DLL',
Symbols loaded.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reports\2cbaf422\c4330628\App_global.asax.aerdpjqp.dll', No symbols
loaded.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6B128700\msvcm80.dll',
No symbols loaded.
w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration
file.
w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing MaxScheduleWait to
default value of '1' second(s) because it was not specified in Configuration
file.
w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
DatabaseQueryTimeout to default value of '30' second(s) because it was not
specified in Configuration file.
w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
ProcessRecycleOptions to default value of '0' because it was not specified
in Configuration file.
w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
RunningRequestsScavengerCycle to default value of '30' second(s) because it
was not specified in Configuration file.
w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
RunningRequestsDbCycle to default value of '30' second(s) because it was not
specified in Configuration file.
w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing RunningRequestsAge
to default value of '30' second(s) because it was not specified in
Configuration file.
w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing CleanupCycleMinutes
to default value of '10' minute(s) because it was not specified in
Configuration file.
w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
DailyCleanupMinuteOfDay to default value of '120' minutes since midnight
because it was not specified in Configuration file.
w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing WatsonFlags to
default value of '1064' because it was not specified in Configuration file.
w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
WatsonDumpOnExceptions to default value of
'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException'
because it was not specified in Configuration file.
w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
WatsonDumpExcludeIfContainsExceptions to default value of
'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException'
because it was not specified in Configuration file.
w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
SecureConnectionLevel to default value of '1' because it was not specified
in Configuration file.
w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing DisplayErrorLink to
'True' as specified in Configuration file.
w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
WebServiceUseFileShareStorage to default value of 'False' because it was not
specified in Configuration file.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_MSIL\SMDiagnostics\3.0.0.0__b77a5c561934e089\SMDiagnostics.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reports\2cbaf422\c4330628\App_Web_xl5eznny.dll', No symbols loaded.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded 'A_29647c81_d809_491e_a780_1d24c9454e83', No
symbols loaded.
'w3wp.exe' (Managed): Loaded 'M_29647c81_d809_491e_a780_1d24c9454e83', No
symbols loaded.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reports\2cbaf422\c4330628\App_Web__fdcxoc7.dll', No symbols loaded.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reports\2cbaf422\c4330628\App_Web_9fik4let.dll', No symbols loaded.
'w3wp.exe' (Managed): Loaded 'hufv1omo', No symbols loaded.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reportserver\55a9c3a5\2dd8b450\assembly\dl3\78d258ab\00fd4e82_fd4cc701\ReportingServicesWebServer.DLL',
No symbols loaded.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reportserver\55a9c3a5\2dd8b450\App_global.asax.psttghhl.dll', No
symbols loaded.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reportserver\55a9c3a5\2dd8b450\assembly\dl3\8a0c03f8\00d01d81_fd4cc701\ReportingServicesLibrary.DLL',
No symbols loaded.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reportserver\55a9c3a5\2dd8b450\assembly\dl3\5e73b5dc\00083daf_b16dc701\Microsoft.ReportingServices.Diagnostics.DLL',
No symbols loaded.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reportserver\55a9c3a5\2dd8b450\assembly\dl3\52f5e7af\00d01d81_fd4cc701\ReportingServicesNativeClient.DLL',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reportserver\55a9c3a5\2dd8b450\assembly\dl3\cff58b2b\00f2a80e_f54cc701\Microsoft.ReportingServices.Interfaces.DLL',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
w3wp!webserver!1!4/20/2007-09:17:05:: i INFO: Reporting Web Server started
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing ConnectionType to
'0' as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing IsSchedulingService
to 'True' as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
IsNotificationService to 'True' as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing IsEventService to
'True' as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing PollingInterval to
'10' second(s) as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
WindowsServiceUseFileShareStorage to 'False' as specified in Configuration
file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing MemoryLimit to '60'
percent as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing RecycleTime to
'720' minute(s) as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing MaximumMemoryLimit
to '80' percent as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing MaxQueueThreads to
'0' thread(s) as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing IsWebServiceEnabled
to 'True' as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration
file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing MaxScheduleWait to
'5' second(s) as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
ProcessRecycleOptions to '0' as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
RunningRequestsScavengerCycle to '60' second(s) as specified in
Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing RunningRequestsAge
to '30' second(s) as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing CleanupCycleMinutes
to '10' minute(s) as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
DailyCleanupMinuteOfDay to default value of '120' minutes since midnight
because it was not specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing WatsonFlags to
'1064' as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
WatsonDumpOnExceptions to
'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException'
as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
WatsonDumpExcludeIfContainsExceptions to
'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException'
as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
SecureConnectionLevel to '0' as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing DisplayErrorLink to
'True' as specified in Configuration file.
w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
WebServiceUseFileShareStorage to 'False' as specified in Configuration file.
w3wp!resourceutilities!1!4/20/2007-09:17:06:: i INFO: Reporting Services
starting SKU: Developer
w3wp!resourceutilities!1!4/20/2007-09:17:06:: i INFO: Evaluation copy: 0
days left
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_32\System.Transactions\2.0.0.0__b77a5c561934e089\System.Transactions.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
w3wp!runningjobs!1!4/20/2007-09:17:06:: i INFO: Database Cleanup (Web
Service) timer enabled: Next Event: 600 seconds. Cycle: 600 seconds
w3wp!runningjobs!1!4/20/2007-09:17:06:: i INFO: Running Requests Scavenger
timer enabled: Next Event: 60 seconds. Cycle: 60 seconds
w3wp!runningjobs!1!4/20/2007-09:17:06:: i INFO: Running Requests DB timer
enabled: Next Event: 60 seconds. Cycle: 60 seconds
w3wp!runningjobs!1!4/20/2007-09:17:06:: i INFO: Memory stats update timer
enabled: Next Event: 60 seconds. Cycle: 60 seconds
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\reportserver\55a9c3a5\2dd8b450\assembly\dl3\f792c3fd\8d2fe1f3_4c83c701\Res.ReportServerCustomSecurity.DLL',
Symbols loaded.
'w3wp.exe' (Managed): Loaded
'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualBasic\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll',
Skipped loading symbols. Module is optimized and the debugger option 'Just
My Code' is enabled.
setconfiguration
setconfiguration: exit
Start GetuserInfo for null
*** End GetUserInfo
w3wp!library!1!04/20/2007-09:17:07:: e ERROR: Throwing
Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException:
An internal error occurred on the report server. See the error log for more
details., ;
Info:
Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException:
An internal error occurred on the report server. See the error log for more
details. --> System.NullReferenceException: Object reference not set to an
instance of an object.
at
Microsoft.ReportingServices.WebServer.WebServiceHelper.ConstructRSServiceObjectFromSecurityExtension()
at
Microsoft.ReportingServices.WebServer.Global.ConstructRSServiceFromRequest(String
item)
at Microsoft.ReportingServices.WebServer.Global.get_Service()
at Microsoft.ReportingServices.WebServer.Global.DispatchRequest(Boolean&
transferedToViewerPage)
at
Microsoft.ReportingServices.WebServer.Global.Application_AuthenticateRequest(Object
sender, EventArgs e)
-- End of inner exception stack trace --
The thread 0x7ec has exited with code 0 (0x0).
The thread 0x1734 has exited with code 0 (0x0).
w3wp!library!1!04/20/2007-09:17:10:: i INFO: Exception dumped to: C:\Program
Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles flags= ReferencedMemory, AllThreads, SendToWatson
w3wp!library!1!04/20/2007-09:17:10:: i INFO: Catalog SQL Server Edition = Developer
w3wp!ui!5!4/20/2007-09:17:12:: e ERROR: The report server is not responding.
Verify that the report server is running and can be accessed from this
computer.
w3wp!ui!5!4/20/2007-09:17:13:: e ERROR: HTTP status code --> 500
--Details--
Microsoft.ReportingServices.UI.Global+RSWebServiceWrapper+CantCommunicateWithReportServerException:
The report server is not responding. Verify that the report server is
running and can be accessed from this computer.
at
Microsoft.ReportingServices.UI.Global.RSWebServiceWrapper.GetSecureMethods()
at
Microsoft.SqlServer.ReportingServices2005.RSConnection.IsSecureMethod(String
methodname)
at
Microsoft.SqlServer.ReportingServices2005.RSConnection.ValidateConnection()
at Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel(HttpsLevel
level)
at Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object
sender, EventArgs args)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.OnInit(EventArgs e)
at System.Web.UI.Page.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
setconfiguration
setconfiguration: exit
Start GetuserInfo for null
*** End GetUserInfo
w3wp!library!a!04/20/2007-09:17:13:: e ERROR: Throwing
Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException:
An internal error occurred on the report server. See the error log for more
details., ;
Info:
Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException:
An internal error occurred on the report server. See the error log for more
details. --> System.NullReferenceException: Object reference not set to an
instance of an object.
at
Microsoft.ReportingServices.WebServer.WebServiceHelper.ConstructRSServiceObjectFromSecurityExtension()
at
Microsoft.ReportingServices.WebServer.Global.ConstructRSServiceFromRequest(String
item)
at Microsoft.ReportingServices.WebServer.Global.get_Service()
at Microsoft.ReportingServices.WebServer.Global.DispatchRequest(Boolean&
transferedToViewerPage)
at
Microsoft.ReportingServices.WebServer.Global.Application_AuthenticateRequest(Object
sender, EventArgs e)
-- End of inner exception stack trace --
w3wp!library!a!04/20/2007-09:17:43:: i INFO: Exception dumped to: C:\Program
Files\Microsoft SQL Server\MSSQL.3\Reporting Services\LogFiles flags= ReferencedMemory, AllThreads, SendToWatson
w3wp!ui!5!4/20/2007-09:17:44:: e ERROR: Exception in ShowErrorPage:
System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)
at at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)Yes, I am having the same problem.
"Smokey Grindle" wrote:
> Anyone else have this problem? I deployed a custom forms authentication
> library with a ASP.NET login page when I go to http://server/reports it just
> sits there for a minute with the progress icon spinning in IE then
> eventually I get a Threading timeout from Reporting services (in the
> attached debugger) and after that the page shows up... anyone else get this
> with forms auth? anyone know why it does it or how to stop it?
> here is the trace output from my remote debugging session from the time the
> page starts to load until it shows the login page.. thanks!
> ==========================> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.RegularExpressions\2.0.0.0__b03f5f7f11d50a3a\System.Web.RegularExpressions.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.JScript\8.0.0.0__b03f5f7f11d50a3a\Microsoft.JScript.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reports\2cbaf422\c4330628\assembly\dl3\f180608d\00083daf_b16dc701\Microsoft.ReportingServices.Diagnostics.DLL',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reports\2cbaf422\c4330628\assembly\dl3\cd47089b\00f2a80e_f54cc701\Microsoft.ReportingServices.Interfaces.DLL',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reports\2cbaf422\c4330628\assembly\dl3\498aee86\00aa0b9e_9bd0c501\ReportingServicesCDOInterop.DLL',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reports\2cbaf422\c4330628\assembly\dl3\4a099978\00d01d81_fd4cc701\ReportingServicesEmailDeliveryProvider.DLL',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reports\2cbaf422\c4330628\assembly\dl3\a890e9c0\00d01d81_fd4cc701\ReportingServicesFileShareDeliveryProvider.DLL',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reports\2cbaf422\c4330628\assembly\dl3\23449648\00d01d81_fd4cc701\ReportingServicesNativeClient.DLL',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reports\2cbaf422\c4330628\assembly\dl3\de5a2332\00fd4e82_fd4cc701\ReportingServicesWebUserInterface.DLL',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reports\2cbaf422\c4330628\assembly\dl3\1d01d363\8d2fe1f3_4c83c701\Res.ReportServerCustomSecurity.DLL',
> Symbols loaded.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reports\2cbaf422\c4330628\App_global.asax.aerdpjqp.dll', No symbols
> loaded.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6B128700\msvcm80.dll',
> No symbols loaded.
> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
> MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration
> file.
> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing MaxScheduleWait to
> default value of '1' second(s) because it was not specified in Configuration
> file.
> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
> DatabaseQueryTimeout to default value of '30' second(s) because it was not
> specified in Configuration file.
> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
> ProcessRecycleOptions to default value of '0' because it was not specified
> in Configuration file.
> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
> RunningRequestsScavengerCycle to default value of '30' second(s) because it
> was not specified in Configuration file.
> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
> RunningRequestsDbCycle to default value of '30' second(s) because it was not
> specified in Configuration file.
> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing RunningRequestsAge
> to default value of '30' second(s) because it was not specified in
> Configuration file.
> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing CleanupCycleMinutes
> to default value of '10' minute(s) because it was not specified in
> Configuration file.
> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
> DailyCleanupMinuteOfDay to default value of '120' minutes since midnight
> because it was not specified in Configuration file.
> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing WatsonFlags to
> default value of '1064' because it was not specified in Configuration file.
> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
> WatsonDumpOnExceptions to default value of
> 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException'
> because it was not specified in Configuration file.
> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
> WatsonDumpExcludeIfContainsExceptions to default value of
> 'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException'
> because it was not specified in Configuration file.
> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
> SecureConnectionLevel to default value of '1' because it was not specified
> in Configuration file.
> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing DisplayErrorLink to
> 'True' as specified in Configuration file.
> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
> WebServiceUseFileShareStorage to default value of 'False' because it was not
> specified in Configuration file.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_MSIL\SMDiagnostics\3.0.0.0__b77a5c561934e089\SMDiagnostics.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reports\2cbaf422\c4330628\App_Web_xl5eznny.dll', No symbols loaded.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded 'A_29647c81_d809_491e_a780_1d24c9454e83', No
> symbols loaded.
> 'w3wp.exe' (Managed): Loaded 'M_29647c81_d809_491e_a780_1d24c9454e83', No
> symbols loaded.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reports\2cbaf422\c4330628\App_Web__fdcxoc7.dll', No symbols loaded.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reports\2cbaf422\c4330628\App_Web_9fik4let.dll', No symbols loaded.
> 'w3wp.exe' (Managed): Loaded 'hufv1omo', No symbols loaded.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reportserver\55a9c3a5\2dd8b450\assembly\dl3\78d258ab\00fd4e82_fd4cc701\ReportingServicesWebServer.DLL',
> No symbols loaded.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reportserver\55a9c3a5\2dd8b450\App_global.asax.psttghhl.dll', No
> symbols loaded.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reportserver\55a9c3a5\2dd8b450\assembly\dl3\8a0c03f8\00d01d81_fd4cc701\ReportingServicesLibrary.DLL',
> No symbols loaded.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reportserver\55a9c3a5\2dd8b450\assembly\dl3\5e73b5dc\00083daf_b16dc701\Microsoft.ReportingServices.Diagnostics.DLL',
> No symbols loaded.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reportserver\55a9c3a5\2dd8b450\assembly\dl3\52f5e7af\00d01d81_fd4cc701\ReportingServicesNativeClient.DLL',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> 'w3wp.exe' (Managed): Loaded
> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
> Files\reportserver\55a9c3a5\2dd8b450\assembly\dl3\cff58b2b\00f2a80e_f54cc701\Microsoft.ReportingServices.Interfaces.DLL',
> Skipped loading symbols. Module is optimized and the debugger option 'Just
> My Code' is enabled.
> w3wp!webserver!1!4/20/2007-09:17:05:: i INFO: Reporting Web Server started
> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing ConnectionType to
> '0' as specified in Configuration file.
> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing IsSchedulingService
> to 'True' as specified in Configuration file.
> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
> IsNotificationService to 'True' as specified in Configuration file.
> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing IsEventService to
> 'True' as specified in Configuration file.
> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing PollingInterval to
> '10' second(s) as specified in Configuration file.
> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
> WindowsServiceUseFileShareStorage to 'False' as specified in Configuration
> file.
> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing MemoryLimit to '60'
> percent as specified in Configuration file.
> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing RecycleTime to
> '720' minute(s) as specified in Configuration file.
> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing MaximumMemoryLimit
> to '80' percent as specified in Configuration file.
> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing|||anyone know why this is?
"RSAdmin" <RSAdmin@.discussions.microsoft.com> wrote in message
news:20D5AEF8-C030-4960-8AE7-5F7256ED04A0@.microsoft.com...
> Yes, I am having the same problem.
> "Smokey Grindle" wrote:
>> Anyone else have this problem? I deployed a custom forms authentication
>> library with a ASP.NET login page when I go to http://server/reports it
>> just
>> sits there for a minute with the progress icon spinning in IE then
>> eventually I get a Threading timeout from Reporting services (in the
>> attached debugger) and after that the page shows up... anyone else get
>> this
>> with forms auth? anyone know why it does it or how to stop it?
>> here is the trace output from my remote debugging session from the time
>> the
>> page starts to load until it shows the login page.. thanks!
>> ==========================>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.RegularExpressions\2.0.0.0__b03f5f7f11d50a3a\System.Web.RegularExpressions.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.JScript\8.0.0.0__b03f5f7f11d50a3a\Microsoft.JScript.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reports\2cbaf422\c4330628\assembly\dl3\f180608d\00083daf_b16dc701\Microsoft.ReportingServices.Diagnostics.DLL',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reports\2cbaf422\c4330628\assembly\dl3\cd47089b\00f2a80e_f54cc701\Microsoft.ReportingServices.Interfaces.DLL',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reports\2cbaf422\c4330628\assembly\dl3\498aee86\00aa0b9e_9bd0c501\ReportingServicesCDOInterop.DLL',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reports\2cbaf422\c4330628\assembly\dl3\4a099978\00d01d81_fd4cc701\ReportingServicesEmailDeliveryProvider.DLL',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reports\2cbaf422\c4330628\assembly\dl3\a890e9c0\00d01d81_fd4cc701\ReportingServicesFileShareDeliveryProvider.DLL',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reports\2cbaf422\c4330628\assembly\dl3\23449648\00d01d81_fd4cc701\ReportingServicesNativeClient.DLL',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reports\2cbaf422\c4330628\assembly\dl3\de5a2332\00fd4e82_fd4cc701\ReportingServicesWebUserInterface.DLL',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reports\2cbaf422\c4330628\assembly\dl3\1d01d363\8d2fe1f3_4c83c701\Res.ReportServerCustomSecurity.DLL',
>> Symbols loaded.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reports\2cbaf422\c4330628\App_global.asax.aerdpjqp.dll', No symbols
>> loaded.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6B128700\msvcm80.dll',
>> No symbols loaded.
>> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
>> MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration
>> file.
>> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing MaxScheduleWait
>> to
>> default value of '1' second(s) because it was not specified in
>> Configuration
>> file.
>> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
>> DatabaseQueryTimeout to default value of '30' second(s) because it was
>> not
>> specified in Configuration file.
>> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
>> ProcessRecycleOptions to default value of '0' because it was not
>> specified
>> in Configuration file.
>> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
>> RunningRequestsScavengerCycle to default value of '30' second(s) because
>> it
>> was not specified in Configuration file.
>> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
>> RunningRequestsDbCycle to default value of '30' second(s) because it was
>> not
>> specified in Configuration file.
>> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
>> RunningRequestsAge
>> to default value of '30' second(s) because it was not specified in
>> Configuration file.
>> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
>> CleanupCycleMinutes
>> to default value of '10' minute(s) because it was not specified in
>> Configuration file.
>> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
>> DailyCleanupMinuteOfDay to default value of '120' minutes since midnight
>> because it was not specified in Configuration file.
>> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing WatsonFlags to
>> default value of '1064' because it was not specified in Configuration
>> file.
>> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
>> WatsonDumpOnExceptions to default value of
>> 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException'
>> because it was not specified in Configuration file.
>> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
>> WatsonDumpExcludeIfContainsExceptions to default value of
>> 'System.Data.SqlClient.SqlException,System.Threading.ThreadAbortException'
>> because it was not specified in Configuration file.
>> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
>> SecureConnectionLevel to default value of '1' because it was not
>> specified
>> in Configuration file.
>> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing DisplayErrorLink
>> to
>> 'True' as specified in Configuration file.
>> w3wp!library!1!4/20/2007-09:16:49:: i INFO: Initializing
>> WebServiceUseFileShareStorage to default value of 'False' because it was
>> not
>> specified in Configuration file.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_MSIL\SMDiagnostics\3.0.0.0__b77a5c561934e089\SMDiagnostics.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reports\2cbaf422\c4330628\App_Web_xl5eznny.dll', No symbols loaded.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded 'A_29647c81_d809_491e_a780_1d24c9454e83', No
>> symbols loaded.
>> 'w3wp.exe' (Managed): Loaded 'M_29647c81_d809_491e_a780_1d24c9454e83', No
>> symbols loaded.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reports\2cbaf422\c4330628\App_Web__fdcxoc7.dll', No symbols loaded.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reports\2cbaf422\c4330628\App_Web_9fik4let.dll', No symbols loaded.
>> 'w3wp.exe' (Managed): Loaded 'hufv1omo', No symbols loaded.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reportserver\55a9c3a5\2dd8b450\assembly\dl3\78d258ab\00fd4e82_fd4cc701\ReportingServicesWebServer.DLL',
>> No symbols loaded.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reportserver\55a9c3a5\2dd8b450\App_global.asax.psttghhl.dll', No
>> symbols loaded.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reportserver\55a9c3a5\2dd8b450\assembly\dl3\8a0c03f8\00d01d81_fd4cc701\ReportingServicesLibrary.DLL',
>> No symbols loaded.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reportserver\55a9c3a5\2dd8b450\assembly\dl3\5e73b5dc\00083daf_b16dc701\Microsoft.ReportingServices.Diagnostics.DLL',
>> No symbols loaded.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reportserver\55a9c3a5\2dd8b450\assembly\dl3\52f5e7af\00d01d81_fd4cc701\ReportingServicesNativeClient.DLL',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> 'w3wp.exe' (Managed): Loaded
>> 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
>> Files\reportserver\55a9c3a5\2dd8b450\assembly\dl3\cff58b2b\00f2a80e_f54cc701\Microsoft.ReportingServices.Interfaces.DLL',
>> Skipped loading symbols. Module is optimized and the debugger option
>> 'Just
>> My Code' is enabled.
>> w3wp!webserver!1!4/20/2007-09:17:05:: i INFO: Reporting Web Server
>> started
>> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing ConnectionType
>> to
>> '0' as specified in Configuration file.
>> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
>> IsSchedulingService
>> to 'True' as specified in Configuration file.
>> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
>> IsNotificationService to 'True' as specified in Configuration file.
>> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing IsEventService
>> to
>> 'True' as specified in Configuration file.
>> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing PollingInterval
>> to
>> '10' second(s) as specified in Configuration file.
>> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
>> WindowsServiceUseFileShareStorage to 'False' as specified in
>> Configuration
>> file.
>> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing MemoryLimit to
>> '60'
>> percent as specified in Configuration file.
>> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing RecycleTime to
>> '720' minute(s) as specified in Configuration file.
>> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializing
>> MaximumMemoryLimit
>> to '80' percent as specified in Configuration file.
>> w3wp!library!1!4/20/2007-09:17:06:: i INFO: Initializingsql

Sunday, February 19, 2012

format column lengths

In Oracle sqlplus I always had a login.sql with statements like

column bldg_id format a8

which I could also use interactively on the sqlplus command line.

How can I do this in transact-sql ?

As far as I know, there is no equal command in SQL Server.

But for simple format purpose, you can try -Y or -y parameter for sqlcmd.exe

For more info, pls try sqlcmd /?

Thanks,

Zuomin
|||

You can use BCP with format files, where you can control lot of options..

See BCP on BOL

|||

Thank you both, but I'm just running the transact-sql available through Enterprise to SQL server, and I don't know what BCD is.

I learned I can do this:

oracle: col id format a8
transact-sql: select cast( id as char(8) )

|||Also, don't overlook OSQL if you need a handy command access. I've gotten more little jobs done with a good batch file and some OSQL than I can count.

John V. McCarthy