04-22-04 09:38 PM
The user MyServer\Aspnet should be given permissions to the commerce
databases
You should go through the "Secure Deployment Guide" for permissions
necessary for the commerce databases
Thanks
Vinayak Tadas
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Get Secure! For more info visit http://www.microsoft.com/security. Please
reply to the newsgroups only. Thanks
"Marc Bopel" <bopel@bluewin.ch> wrote in message
news:ufDvxy9JEHA.2452@TK2MSFTNGP09.phx.gbl...
> we tried to follow a tutorial in the commerce server documentation for
> visual studio.net developers (adaption of user profiling, setting up a
login
> and logout page) but we are constantly receiving the attached error. we
are
> working with an evaluation version of commerce server 2002. we have
already
> two other applications (the retail template and its bizdesk) running on
the
> same (default) website.
>
> error:
>
>
> Login failed for user 'MYSERVER\ASPNET'.
> Description: An unhandled exception occurred during the execution of the
> current web request. Please review the stack trace for more information
> about the error and where it originated in the code.
>
> Exception Details: System.Runtime.InteropServices.COMException: Login
failed
> for user 'MYSERVER\ASPNET'.
>
> Source Error:
>
> An unhandled exception was generated during the execution of the current
web
> request. Information regarding the origin and location of the exception
can
> be identified using the exception stack trace below.
>
> Stack Trace:
>
>
> [COMException (0x80040e4d): Login failed for user 'MYSERVER\ASPNET'.]
> ADODB.ConnectionClass.Open(String ConnectionString, String UserID,
String
> Password, Int32 Options) +0
> SharedFns.ReadSQLDbLocale(String& strAdminConn)
> SharedFns.SQLGetConnStr()
>
>
Microsoft.CommerceServer.Interop.Configuration. SiteConfigReadOnlyFreeThreade
> d.SQLGetConnection()
>
>
Microsoft.CommerceServer.Interop.Configuration. SiteConfigReadOnlyFreeThreade
> d.Initialize(String bstrSiteName)
>
> [CommerceException: Login failed for user 'MYSERVER\ASPNET'.]
> SharedFns.ThrowCommerceException(String message, Exception inner)
>
>
Microsoft.CommerceServer.Interop.Configuration. SiteConfigReadOnlyFreeThreade
> d.Initialize(String bstrSiteName)
>
>
Microsoft.CommerceServer.Runtime.Configuration.CommerceResourceCollection..c
> tor(String siteName)
>
>
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.InitializeApplica
> tion()
>
>
Microsoft.CommerceServer.Runtime.CommerceApplicationModule.Init(HttpApplicat
> ion appInstance)
> System.Web.HttpApplication.InitModules()
> System.Web.HttpApplication.InitInternal(HttpContext context,
> HttpApplicationState state, MethodInfo[] handlers)
>
> System.Web.HttpApplicationFactory. GetNormalApplicationInstance(HttpContext
> context)
> System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
> context) +256
> System.Web.HttpRuntime. ProcessRequestInternal(HttpWorkerRequest
wr)
+414
>
>
>
>
>
[ Post a follow-up to this message ]
|