Showing posts with label web. Show all posts
Showing posts with label web. Show all posts

Thursday, March 29, 2012

Error when trying to log in to SQL server

I've just finished developing a web app, which works fine on my PC, running IIS locally. It uses windows authentication and a trusted connection to retrieve data from SQL server. So far so routine. When I deploy the app to my live server, it returns the error:

Login failed for user '\'

The stack trace seems to indicate that it's at the point where the app tries to retrieve data that the error occurs. I proved this by changing my connection string to explicitly define the log on, and it retrieved the data no problem.

I set up a very simple webform with a label on, to return what it thought the user's log on name was, and it returns the correct name.

Any ideas as to why the username isn't being correctly passed to SQL server?Have you made sure the Web Account is a valid user of the SQL Server? If the IIS box and the SQL box are different you have to ensure the user has network rights too.|||Yes, the user (me!) definitely has rights on the SQL server. How come it works locally on my PC, but not on the server?

What network rights do you think I should investigate?

Thanks.|||Sorry I mis-read your original post, I didn't notice that your site was using NT Authentication. So here is my mental checklist:
1. Web Server has access to the Domain server to authenticate the user
2. The Web Server isn't the Domain Server
3. SQL Server security logins knows about the Windows user/user group
4. The SQL Database knows about the Windows user/user group

I mentioned the network security because when you use anon web access the user must have network access to go across machines. That "shouldn't" be an issue here.

Also run SQL Profiler to see if the user is getting set to SQL and then going wrong. Sounds more like its a problem on the web server though, something wrong with the impersonation.|||I'm positive that the user is being authenticated properly on the app, because when I load a simple page with a label which displays the user name, it displays correctly. For some reason this user name isn't getting passed to SQL server correctly.

I tried deploying the application to the box which has the SQL server running, and gess what? It worked. So does this mean that the first box can't access the domain server? Any idea how I can check that?

I'll have a think, and let you know how I get on.

Cheers.|||Hang on, just cause you're using Web Authentication doesn't mean it will impersonate the user onto SQL Server. Do you set the principal security when the user connects?

Check out:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetch03.asp

Tuesday, March 27, 2012

Error when trying to create new databaase using SQL Server

Hi,

I have installed MS SQL server and I'm trying to create a database using the Web Matrix Project. I'm doing the following:

1. Click the Data tab in the Workspace pane.
2. Click on "Add Database Connection"
3. Select "SQL Server/MSDE Database" and click OK
4. Enter the following information:
server=localhost
Windows authentication is on
Database=somename

Click Ok

After I do all this, I get the following error:
Unable to connect to the database
SQL server does not exist or access denied.
ConnectionOpen (Connect()).

The SQL Service Manager is running with the option "Distributed Transaction Coordinator" displaying on Services. (I'm new to SQL server).

What could be causing this to happen?

Thanks a lot."Add Database Connection" is for connecting to an existing database...

use SQL Enterprise Manager to create the database first.|||1. Check if the DNS entries for the database servers are correct. These could be one of the reasons.
2. You must also see if you have sysadmin previledges to create a database.

These are some of the points that come to mind.

Friday, March 9, 2012

Error when applying snapshot

Hello, I have setup web sync from wm 5.0 and it seems to crash when applying the snapshot. Looking at the column definitions it seems fine. Am I missing something? Thanks in advance.

John

The identity column must be either an integer or big integer data type and cannot be NULL.
HRESULT 0x80004005 (25551)

The SQL statement failed to execute. [ SQL statement = CREATE TABLE "macros" ( "peopleid" numeric ( 18 , 0 ) NOT NULL , "macroid" numeric ( 18 , 0 ) IDENTITY ( 1 , 1 ) NOT NULL , "description" nvarchar ( 255 ) NULL , "rowguid" uniqueidentifier ROWGUIDCOL NOT NULL CONSTRAINT "MSmerge_df_rowguid_8E4B26C6706844BC984B039BA07845B5" DEFAULT ( NEWID ( ) ) ) ]
HRESULT 0x80004005 (28560)

The operation could not be completed.

The error message has everything! Please read it again. It says that your identity column (macroid) is not of type bigint or int. SQL Server Mobile/Everywhere support IDENTITY only on int and bigint.

Thanks,

Laxmi Narsimha Rao ORUGANTI, SQL Server Everywhere, Microsoft Corporation

|||

I'm getting the same error when trying to set up a subscription to merge replication with wm 5.0. Here is the error:

The identity column must be either an integer or big integer data type and cannot be NULL.
HRESULT 0x80004005 (25551)

The SQL statement failed to execute. If this occurred while using merge replication, this is an internal error. If this occurred while using RDA, then the SQL statement is invalid either on the PULL statement or on the SubmitSQL statement. [ SQL statement = CREATE TABLE "INV_MfrProduct" ( "MfrProductId" numeric ( 18 , 0 ) IDENTITY ( 1 , 1 ) NOT NULL , "MfrProductDesc" nvarchar ( 100 ) NOT NULL , "isActive" bit NOT NULL , "ClassId" numeric ( 18 , 0 ) NULL , "rowguid" uniqueidentifier ROWGUIDCOL NOT NULL CONSTRAINT "MSmerge_df_rowguid_CA8620C3C47D4A388517DDA409E1C2AB" DEFAULT ( NEWID ( ) ) ) ]
HRESULT

The table in question though is only one (last one) out of several that have identity as numeric field. The identity range is safely within the limits of bigint though. So, what would be the solution to this? Not use merge replication?

Please, advise.

Error when applying snapshot

Hello, I have setup web sync from wm 5.0 and it seems to crash when applying the snapshot. Looking at the column definitions it seems fine. Am I missing something? Thanks in advance.

John

The identity column must be either an integer or big integer data type and cannot be NULL.
HRESULT 0x80004005 (25551)

The SQL statement failed to execute. [ SQL statement = CREATE TABLE "macros" ( "peopleid" numeric ( 18 , 0 ) NOT NULL , "macroid" numeric ( 18 , 0 ) IDENTITY ( 1 , 1 ) NOT NULL , "description" nvarchar ( 255 ) NULL , "rowguid" uniqueidentifier ROWGUIDCOL NOT NULL CONSTRAINT "MSmerge_df_rowguid_8E4B26C6706844BC984B039BA07845B5" DEFAULT ( NEWID ( ) ) ) ]
HRESULT 0x80004005 (28560)

The operation could not be completed.

The error message has everything! Please read it again. It says that your identity column (macroid) is not of type bigint or int. SQL Server Mobile/Everywhere support IDENTITY only on int and bigint.

Thanks,

Laxmi Narsimha Rao ORUGANTI, SQL Server Everywhere, Microsoft Corporation

|||

I'm getting the same error when trying to set up a subscription to merge replication with wm 5.0. Here is the error:

The identity column must be either an integer or big integer data type and cannot be NULL.
HRESULT 0x80004005 (25551)

The SQL statement failed to execute. If this occurred while using merge replication, this is an internal error. If this occurred while using RDA, then the SQL statement is invalid either on the PULL statement or on the SubmitSQL statement. [ SQL statement = CREATE TABLE "INV_MfrProduct" ( "MfrProductId" numeric ( 18 , 0 ) IDENTITY ( 1 , 1 ) NOT NULL , "MfrProductDesc" nvarchar ( 100 ) NOT NULL , "isActive" bit NOT NULL , "ClassId" numeric ( 18 , 0 ) NULL , "rowguid" uniqueidentifier ROWGUIDCOL NOT NULL CONSTRAINT "MSmerge_df_rowguid_CA8620C3C47D4A388517DDA409E1C2AB" DEFAULT ( NEWID ( ) ) ) ]
HRESULT

The table in question though is only one (last one) out of several that have identity as numeric field. The identity range is safely within the limits of bigint though. So, what would be the solution to this? Not use merge replication?

Please, advise.

Wednesday, March 7, 2012

Error Using Web Site Administration Tool

I am getting the following error using the Web Site AdministrationTool. I have created the database I want to use. Pleasehelp.

Could not establish a connection to the database.
If you have not yet created the SQL Server database, exit the Web SiteAdministration tool, use the aspnet_regsql command-line utility tocreate and configure the database, and then return to this tool to setthe provider.

The utility either is not working or I do not know how to use it.

I have SQL 2005 Express and SQL 2000. SQL 2000 is workingproperly, not sure about SQL 2005. I have been told to use SQL2000 because that is what our server is using. I am developing onmy server and when application works will port to our server.

Dee

Can you post the <connectionStrings> section in the web.config file?

I am suspecting your application is configured to use SQL Express but the service may not be enabled.

|||

This is what is in my web config:

<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings/>
<connectionStrings/>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.

Visual Basic options:
Set strict="true" to disallow all data type conversions
where data loss can occur.
Set explicit="true" to force declaration of all variables.
-->
<compilation debug="false" strict="false" explicit="true" />
<pages>
<namespaces>
<clear />
<add namespace="System" />
<add namespace="System.Collections" />
<add namespace="System.Collections.Specialized" />
<add namespace="System.Configuration" />
<add namespace="System.Text" />
<add namespace="System.Text.RegularExpressions" />
<add namespace="System.Web" />
<add namespace="System.Web.Caching" />
<add namespace="System.Web.SessionState" />
<add namespace="System.Web.Security" />
<add namespace="System.Web.Profile" />
<add namespace="System.Web.UI" />
<add namespace="System.Web.UI.WebControls" />
<add namespace="System.Web.UI.WebControls.WebParts" />
<add namespace="System.Web.UI.HtmlControls" />
</namespaces>
</pages>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows" />
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
</system.web>
</configuration>

Dee

|||

This is the error I get when trying to test a web part:

SqlException (0x80131904): An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)]
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +735059
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188
System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, Boolean& failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup) +820
System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +628
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +170
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +130
System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +27
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +47
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.SqlClient.SqlConnection.Open() +111
System.Web.Management.SqlServices.GetSqlConnection(String server, String user, String password, Boolean trusted, String connectionString) +68

[HttpException (0x80004005): Unable to connect to SQL Server database.]
System.Web.Management.SqlServices.GetSqlConnection(String server, String user, String password, Boolean trusted, String connectionString) +124
System.Web.Management.SqlServices.SetupApplicationServices(String server, String user, String password, Boolean trusted, String connectionString, String database, String dbFileName, SqlFeatures features, Boolean install) +86
System.Web.Management.SqlServices.Install(String database, String dbFileName, String connectionString) +25
System.Web.DataAccess.SqlConnectionHelper.CreateMdfFile(String fullFileName, String dataDir, String connectionString) +397


Dee

|||

OK.. I think it is taking the connection property from your machine's web.config.

Let me ask you 1 thing, do you intend to use SQL 2000 or SQL 2005 express (on your local computer) to host the aspnet DB database?

|||

I intend to use SQL 2000 on my local computer, but after I have thecode ready it will be on our server which is also using SQL 2000. Will this be a problem? Right now I need it working on my localcomputer first.

Dee

|||

OK.. this makes it clear.

This is what you need to do

1) Create the aspnetDB schema by running the regsql tool. You can use the GUI interface but I find it much easier using command line.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe-S [DB Server Name] -U [DB login] -P [Password] -A all -d [Database name]

2) Update your site's web.config

a) Replace

<connectionStrings/>
with
<connectionStrings> <remove name="LocalSqlServer" /> <add name="LocalSqlServer" connectionString="Data Source=<DB_Server>;Integrated Security=false;Initial Catalog=<DB_Name>;User ID=<DB_User>;Password=<DB_password>" providerName="System.Data.SqlClient" /></connectionStrings>
 
PS. These information is taken from a KB articles from our Knowledge base.http://kb.discountasp.net/article.aspx?id=10413
 
|||

Tried the information above, changed DB to SQL, changed userid and password, changed database.

I got the following error:

An error has occurred. Details of the exception:
An error has occurred while establishing a connection to the server. When conne
cting to SQL Server 2005, this failure may be caused by the fact that under the
default settings SQL Server does not allow remote connections. (provider: Named
Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Unable to connect to SQL Server database.

also is there a way to do more then one database, because of this I can not even view starter kits.

Dee


|||

Are you sure the SQL 2000 server is running/ is it on the same server? What is your connection string (pls leave out the password)?

|||

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe-S [dmark] -E -A all -d [dprobationtracker]

or

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe-S [dmark] -U [Dee] -P [password] -A all -d [dprobationtracker]

SQL is running in the service manaager I can even stop the server and start it.

dee

|||

Dee,

Get rid of the "[" and "]"

ie.

aspnet_regsql.exe -S dmark -U Dee -P database_password -A all -d dprobationtracker

if your sql 2000 is on the same server, you can also use

aspnet_regsql.exe -S localhost -U Dee -P database_password -A all -d dprobationtracker

|||

I got

An error has occurred. Details of the exception:
Login failed for user 'Dee'. Reason: Not associated with a trusted SQL Server co
nnection.

Unable to connect to SQL Server database.

Don't know why Dee is my windows user login and I used the password for that.

Dee

|||

Dee,

How much do you know about MS SQL? This is becoming a SQL configuration issue rather than a ASP.NET membership issue.

Are you familiar with SQL authentication and Windows Authentication?

|||

Hi Dee,

This might because the SQL Server hasn't been enabled with SQL Authentication.

If you're logging on with a SQL Server login, you will need to create a user named "Dee" into the logins.

If you're using a Windows Authentication, you need to add your windows account to the login.

|||

I created a SQL server login using Dee, still getting the sameerror. This was working before. I tried to choose mixedmode and could not.

Dee

Error using Reporting Services On windows 64 bit

I get the following error when i try to acces to the reporting services web
site.
Attempted to load a 64-bit assembly on a 32-bit platform. Use
ReflectionOnlyLoad() instead if trying to load for reflection purposes.
I have no idea of the source of the error (it is really a 64 bit edition of
windows)
If you have an idea,
ThanksAre you sure that you are not using a 32 bits version of SQRS on a 64 bits
machine?
In this case, have a look to this article
http://msdn2.microsoft.com/ms143293.aspx
Med Bouchenafa
"Cyprien Autexier" <autexi_c@.3ie.org> a écrit dans le message de news:
uqBrolOJGHA.3224@.TK2MSFTNGP09.phx.gbl...
>I get the following error when i try to acces to the reporting services web
>site.
> Attempted to load a 64-bit assembly on a 32-bit platform. Use
> ReflectionOnlyLoad() instead if trying to load for reflection purposes.
> I have no idea of the source of the error (it is really a 64 bit edition
> of windows)
> If you have an idea,
> Thanks
>

Sunday, February 26, 2012

error using Analysis Sevices in Web

Hi, i have question when i'm publishig a web page with a cube inside, the component displays the next error:

the html element at line 1, column6 (namespache) cannot appear under

then i log on into my server to the analysys Services and i can browse my cube without any problems, but the page just cannot show it, any suggestions?

thnks!!!

right... i should've been more especific. the problem was the conexion..i'm usign a web service to achieve this.. somehow.. this component caused some errors in the server...so i added a new one and changed the mappings in the web page...this solved the problem correctly

thanks anyway.. hope this helps to some of you!!

Error trying to use host header with SQL Reporting Services

Reporting services was installed to the default web site on server
SQLREPORT. It works fine internally. I have added a host header to the
default web site so that it can be accessed using
http://SQLREPORT.domain.com. I can access the site externally using this
fqdn, and can click on a folder and see reports inside of it. However, when
i choose to run a report, I get
The page cannot be displayed. If I right click in the report area and click
properties,
this is the value that is being shown for Address(URL)
res://C:\WINDOWS\system32\shdoclc.dll/dnserror.htm#http://SQLREPORT/ReportServer?%2fMicrosoft+Operations+Manager+Reporting%2fMicrosoft+Active+Directory%2fADMP+AD+Domain+Controllers&rs:Command=Render&rc:ReplacementRoot=http://SQLREPORT.domain.com/REPORTS/Pages/Report.aspx?ServerUrl=
Is there somewhere in the report or on the server that i need to change
SQLREPORT to SQLREPORT.domain.com? I tried changing it on the server in the
two registry keys for virtual directory, but this did not work either.Found the answer. Requires a change to the registry and to two config files.
Check my blog for more details.
http://www.whitworth.org/blog/PermaLink.aspx?guid=d28de7d8-d036-4d59-b157-5a116c0c5cd9
"Rickey Whitworth" <notprovided@.here> wrote in message
news:eIM5SXpuEHA.3808@.TK2MSFTNGP15.phx.gbl...
> Reporting services was installed to the default web site on server
> SQLREPORT. It works fine internally. I have added a host header to the
> default web site so that it can be accessed using
> http://SQLREPORT.domain.com. I can access the site externally using this
> fqdn, and can click on a folder and see reports inside of it. However,
> when i choose to run a report, I get
> The page cannot be displayed. If I right click in the report area and
> click properties,
> this is the value that is being shown for Address(URL)
> res://C:\WINDOWS\system32\shdoclc.dll/dnserror.htm#http://SQLREPORT/ReportServer?%2fMicrosoft+Operations+Manager+Reporting%2fMicrosoft+Active+Directory%2fADMP+AD+Domain+Controllers&rs:Command=Render&rc:ReplacementRoot=http://SQLREPORT.domain.com/REPORTS/Pages/Report.aspx?ServerUrl=
> Is there somewhere in the report or on the server that i need to change
> SQLREPORT to SQLREPORT.domain.com? I tried changing it on the server in
> the two registry keys for virtual directory, but this did not work either.
>
>

Friday, February 24, 2012

Error treatment

Hi,
I'm trying to find the best way to treat erro in my web applicatin (using VB.NET) but i'm something is not right.
Look at this code (part of the code was removed but on the original, we do need a transaction because we update different tables):

Protected Sub ClearFlag()Dim mySQLConnectionAs New SqlConnection(ConfigurationManager.ConnectionStrings("MyString").ToString)Dim mySQLTransactionAs SqlTransactionDim mySQLCommandAs SqlCommandDim sQuery1As String ="UPDATE Users SET UserStatus = 1"Try mySQLConnection.Open() mySQLTransaction = mySQLConnection.BeginTransaction mySQLCommand =New SqlCommand(sQuery1, mySQLConnection, mySQLTransaction) mySQLCommand.ExecuteNonQuery() mySQLTransaction.Commit()Catch exAs Exception mySQLTransaction.Rollback()Finally mySQLConnection.Close() mySQLCommand.Dispose() mySQLTransaction.Dispose() mySQLConnection.Dispose()End Try End Sub

The Error List says:

- Variable 'mySQLCommand' is used before it has been assigned a value. A null reference exception could result at runtime.
- Variable 'mySQLTransaction' is used before it has been assigned a value. A null reference exception could result at runtime.

What i did to try to avoid it is declare the variables using "NEW", like:

Dim mySQLCommand as NEW SQLCommand

But, i can't do this with the transaction.

NESTED TRY AND CATCH

Also, i was thinking about this to handle specific errors like, try to open a connection and just continue if the connection was oppened, or else, treat that error. Try to update the database and just continue, it if did well or else, treat the error...

Is that possible to use nested try and catch for this or, does anyone has a better idea?
I appreciate any comment.

Thanks

Hi E.Brito,

As I can see, these messages are warning messages. The comipler analyzes the code and found the variable might not be pointing to a valid object, since the Try block and Final Block are in same level.

Of course, you can ignore this message, but I would suggest you put the following code before the Try block.

mySQLConnection.Open()
mySQLTransaction = mySQLConnection.BeginTransaction

mySQLCommand = New SqlCommand(sQuery1, mySQLConnection, mySQLTransaction)

This will eliminate the warning message.

HTH. If anything is unclear, please feel free to mark this post as Not Answered and post your reply. Thanks!

|||

hiKevin Yu

Thanks for your replay.
If i do it the warning message will desapear but... what if i get an error on the connection? Since it will be out of the "Try Catch" block, i wont be able to handle the error.
Do you have a sugestion for this?

Thanks in advance,

|||

Hi E.Brito,

For this warning message, you can try to put the dispost in an If block, like

If Not mySQLCommand Is Nothing Then mySQLCommand.Dispose()

This will make sure that the object reference is not Nothing, but it will not deliminate the warning message. In this case, you can ignore it.

You can also put the SqlConnection.Open in another try/catch block, so that you can seperate the process of exceptions.

|||This will work fine.
Thanks a lot for your help

error to run reporting service

When I try to run the web page which host the report, I am not able to reach the home page and following error show up.

" The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content and then restart the service. Check the documentation for more information. (rsReportServerDisabled) Get Online Help
Bad Data."

I then went to Reporting Services Configuration Manager -> Encryption Keys

then I clicked the Change button

after all these I can get back to the reporting service home page. Any one can tell me the reason of this error? thanks

when I tried to open the reporting service web site. The following error pop up

The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in a report server database. You must either restore a backup key or delete all encrypted content and then restart the service. Check the documentation for more information. (rsReportServerDisabled) Get Online Help
Bad Data.

Then I go to Reporting Service Manager-> Encryption keys. After I changed the encryption keys; the reporting service works again. Could anyone explain the reason behind this? ans is that the right way to reslove the error?

Thanks

|||Reporting Services data is encrypted. Did you restore the database or change the service account not through the Condifguration manager ? After changing / deleting the key 8and the encrypted content) the database was empty, you had a new key and you could start all over.

Jens K. Suessmeyer.

http://www.sqlserver2005.de

Sunday, February 19, 2012

Error starting Report manager

I am trying to start report manager and get following error
System.Web.Services.Protocols.SoapException: Server was unable to
process request. --> System.InvalidOperationException: Method
ReportingService.SetExecutionOptions can not be reflected. -->
System.IO.FileLoadException: Unknown error - HRESULT 0x80131047
What I can do about it?
Thanks,
ShimonDoes navigating to \\localhost\reportserver work? Do you have .Net 2.0 on
the machine?
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"Shimon Sim" <estshim@.att.net> wrote in message
news:#r$q96qcEHA.1644@.tk2msftngp13.phx.gbl...
> I am trying to start report manager and get following error
>
> System.Web.Services.Protocols.SoapException: Server was unable to
> process request. --> System.InvalidOperationException: Method
> ReportingService.SetExecutionOptions can not be reflected. -->
> System.IO.FileLoadException: Unknown error - HRESULT 0x80131047
>
> What I can do about it?
> Thanks,
> Shimon
>|||I have the same error. Navigating to localhost/ReportServer does work. I DO
have .NET 2.0 on the machine. I have however set the 'Default Web Site' and
'Report' to use ASP.NET 1.1.4322.0. I set one subweb that uses ASP.NET 2.0
components to use ASP.NET 2.0.40607 using IIS Manager. I also tried using
Denis Bauer's ASP.NET Version switching program, but to no avail. It should
be possible to have one website use version 1, and another use version 2,
shouldn't it? If this is not possible, does anyone know if the next version
of Reporting Services will support .NET 2.0?