質問

I am getting the error

Execution of the managed stored procedure 'mystoredprocedure' failed with the following error: Exception has been thrown by the target of an invocation.Request for the permission of type 'System."Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken='bunchofgarbagenumbers' failed..

This is what comes up when a user tries to access the cube through excel. Currently there is cube member permissions based on their territories which can be found in sql tables. My dll connects to a sql server and gets the data it needs from there and forms it into an mdx set.

It's been working smooth for the past few weeks until today where users are getting this error message. The rest of IT has reported to me no changes have been made to the requirements for the connection string (which I confirmed by logging in using its credentials in Sql Server Management Studio) Does anyone know what could be causing this error?

Thanks, Ethan

役に立ちましたか?

解決

I figured it out, the dll was redeployed, but when it was redeployed, the properties inside of bids for the dll were on safe, not giving it any external server access.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top