On Mar 15, 11:43 pm, Amarnath <Amarn...@discussions.microsoft.com>
[quoted text, click to view] wrote:
> Infact it takes the userid which you give. Just for testing purpose try
> administrator login and see whether it works.
>
> Amarnath, MCTS
>
>
>
> "Prabhu" wrote:
> > Yes Amarnath, I have given in this format only "domain\userid".
>
> > Since both the domains don't have trusted relationship. We have the same id
> > on the otherdomainalso, But it is not working.
>
> > My doubt is, is it taking the user account in which sql reporting service is
> > running or
> > is it taking the "NT AUTHORITY\NetworkService" as userid for accessing the
> > fileshare.
>
> > Is there anything i have to change in the config file..
>
> > Thanks
>
> > Prabhu
>
> > "Amarnath" wrote:
>
> > > Hope you have given in this format <domain>\<user name> at
> > > "credentials required to access the file share". Other way is if possible
> > > create your userid in the differentdomain. so that it uses the same and
> > > logins in to the otherdomainand stores the report in a seperate folder,
> > > provided you give proper access.
>
> > > Amarnath, MCTS.
>
> > > "Prabhu" wrote:
>
> > > > Hi,
>
> > > > I have a server with sql server 2005 reporting services and reports are
> > > > running fine.
>
> > > > Sql server service and reporting service all are configured withdomainuser
> > > > account.
>
> > > > Now we have to deliver a report on excel format to a file share located in a
> > > > differentdomain. We have a different userid and password on thatdomainfor
> > > > accessing the fileshare.
>
> > > > So i am trying to schedule a report subscription, in which i mentioned the
> > > > file share and then user id and password (which is used for accesing the
> > > > fileshare on differentdomain) and scheduled it.
>
> > > > It is failing and giving me the following error.
> > > > A logon error occurred when attempting to access the file share. The user
> > > > account or password is not valid.
>
> > > > But i am able to access this share and create/delete/update files using that
> > > > userid and password.
>
> > > > When i try to write the same file to my share on the samedomainas the
> > > > reporting server is located.It is running fine.
>
> > > > I am not sure,Eventhough i specified a differentdomainuser id and
> > > > password, is it using thedomainuser account which is used by the service
> > > > for delivering the file to this share.
>
> > > > Any idea..
>
> > > > Thanks in advance.
>
> > > > Thanks
>
> > > > Prabhu- Hide quoted text -
>
> - Show quoted text -
here are the steps that I took:
1. I used the uid/pwd to make sure that I have access to the file
share on the server on the other domain.
2. on the subscription I specified the domain\uid and password...and
still got the error.
3. on the subscritpion, I used just the uid and password...just for
fun, and still got the error.
If I set the execution account to the domain\uid and password of the
other server or the other domain....lots of items break. So I'm pretty
sure that altering the execution account is not going to do anything.
How I understand it, when a data driven subscription is triggered..it
won't use the execution account.
http://msdn2.microsoft.com/en-us/library/ms181156.aspx I know that my uid/pwd is correct because I supplied them to access
the file share...and if I change the file path to be local and supply
a local uid/pwd, then everything works.
here is the entire error that I'm getting. Please let me know if I'm
skipping over anything.
ReportingServicesService!subscription!13!03/26/2007-14:22:08::
Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider
+NetworkErrorException: A logon error occurred when attempting to
access the file share. The user account or password is not valid. --->
System.Runtime.InteropServices.COMException (0x8007052E): Logon
failure: unknown user name or bad password. (Exception from HRESULT:
0x8007052E)
at
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32
errorCode, IntPtr errorInfo)
at RSRemoteRpcClient.RemoteLogon.GetRemoteImpToken(String
pRPCEndpointName, Int32 type, Guid dataSourceId, String pUserName,
String pDomain, String pPassword)
at
Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider.GetImpersonationToken(String
userName, String domain, String userPwd)
--- End of inner exception stack trace ---
at
Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider.GetImpersonationToken(String
userName, String domain, String userPwd)
at
Microsoft.ReportingServices.FileShareDeliveryProvider.FileShareProvider.SaveReport(Notification
notification, SubscriptionData d)
ReportingServicesService!library!13!03/26/2007-14:22:08:: Status:
Failure writing file xxx.pdf : A logon error occurred when attempting
to access the file share. The user account or password is not valid.