Click here to Skip to main content
15,888,070 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Display the link and content in my site using RSS Pin
yesu prakash21-Oct-09 17:44
yesu prakash21-Oct-09 17:44 
QuestionRegister the user control or Dynamic Loading the User Control Performance. Pin
Johndas20-Oct-09 2:05
Johndas20-Oct-09 2:05 
AnswerRe: Register the user control or Dynamic Loading the User Control Performance. Pin
Abhijit Jana20-Oct-09 3:47
professionalAbhijit Jana20-Oct-09 3:47 
QuestionHow to retrive the values from Cache Pin
sjs4u20-Oct-09 2:03
sjs4u20-Oct-09 2:03 
AnswerRe: How to retrive the values from Cache Pin
Ashfield20-Oct-09 2:12
Ashfield20-Oct-09 2:12 
GeneralRe: How to retrive the values from Cache Pin
sjs4u20-Oct-09 2:36
sjs4u20-Oct-09 2:36 
GeneralRe: How to retrive the values from Cache Pin
Ashfield20-Oct-09 9:10
Ashfield20-Oct-09 9:10 
QuestionSystem.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. Pin
anderslundsgard20-Oct-09 0:06
anderslundsgard20-Oct-09 0:06 
Anyone ahve any suggestions on what can be wrong when getting this error. I've installed my ASP.NET app on two machines .NET 2.0 and on one of the cpus this error occures.

Server Error in '/Distributor' Application.<br />
--------------------------------------------------------------------------------<br />
<br />
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)<br />
  at FleetManagement.Services.SystemAdministrationServices.UserManager.GetUserRoles(String userName, String password)<br />
  at FleetManagement.Services.SystemAdministrationServices.SystemAdministrationServices.GetUserRoles(String userName, String password)<br />
  at FleetManagement.Services.AuthenticationServices.Authenticate.GetUserRoles(String userName, String password)<br />
  --- End of inner exception stack trace --- <br />
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. <br />
<br />
Exception Details: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)<br />
  at Scania.FleetManagement.Services.SystemAdministrationServices.UserManager.GetUserRoles(String userName, String password)<br />
  at Scania.FleetManagement.Services.SystemAdministrationServices.SystemAdministrationServices.GetUserRoles(String userName, String password)<br />
  at Scania.FleetManagement.Services.AuthenticationServices.Authenticate.GetUserRoles(String userName, String password)<br />
  --- End of inner exception stack trace ---<br />
<br />
Source Error: <br />
<br />
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.  <br />
<br />
Stack Trace: <br />
<br />
<br />
[SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)<br />
   at Scania.FleetManagement.Services.SystemAdministrationServices.UserManager.GetUserRoles(String userName, String password)<br />
   at Scania.FleetManagement.Services.SystemAdministrationServices.SystemAdministrationServices.GetUserRoles(String userName, String password)<br />
   at Scania.FleetManagement.Services.AuthenticationServices.Authenticate.GetUserRoles(String userName, String password)<br />
   --- End of inner exception stack trace ---]<br />
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +431766<br />
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204<br />
   Scania.Components.Authentication.AuthenticationServices.Authenticate.GetUserRoles(String userName, String password) +123<br />
   Scania.Components.Authentication.AuthenticationHandler.GetRolesAsDelimitedString(String userName, String password, String delimiter) +101<br />
   Scania.Components.Authentication.TicketManager.Get(String userName, String password) +106<br />
   ScaniaDistributor.WebForm1.btnLogin_Click(Object sender, EventArgs e) +270<br />
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111<br />
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110<br />
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10<br />
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13<br />
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36<br />
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565<br />
<br />
 <br />
<br />
<br />
--------------------------------------------------------------------------------<br />
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082 


_____________________________

...and justice for all

AnswerRe: System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. Pin
Abhijit Jana20-Oct-09 9:20
professionalAbhijit Jana20-Oct-09 9:20 
QuestionStart Up help Pin
hrishiS20-Oct-09 0:06
hrishiS20-Oct-09 0:06 
AnswerRe: Start Up help Pin
Christian Graus20-Oct-09 0:14
protectorChristian Graus20-Oct-09 0:14 
GeneralRe: Start Up help Pin
hrishiS20-Oct-09 1:10
hrishiS20-Oct-09 1:10 
GeneralRe: Start Up help [modified] Pin
Richard MacCutchan20-Oct-09 4:16
mveRichard MacCutchan20-Oct-09 4:16 
GeneralRe: Start Up help Pin
Christian Graus20-Oct-09 10:48
protectorChristian Graus20-Oct-09 10:48 
GeneralRe: Start Up help Pin
Roger Wright20-Oct-09 20:37
professionalRoger Wright20-Oct-09 20:37 
AnswerRe: Start Up help Pin
Blikkies20-Oct-09 19:39
professionalBlikkies20-Oct-09 19:39 
Questionfind all images id from html file and store in array in c# Pin
vnsraj19-Oct-09 23:47
vnsraj19-Oct-09 23:47 
AnswerRe: find all images id from html file and store in array in c# Pin
Christian Graus19-Oct-09 23:59
protectorChristian Graus19-Oct-09 23:59 
AnswerRe: find all images id from html file and store in array in c# Pin
vnsraj20-Oct-09 0:43
vnsraj20-Oct-09 0:43 
AnswerRe: find all images id from html file and store in array in c# Pin
Shameel20-Oct-09 4:52
professionalShameel20-Oct-09 4:52 
QuestionPaging in DataList Pin
Shalini_U19-Oct-09 23:46
Shalini_U19-Oct-09 23:46 
AnswerRe: Paging in DataList Pin
Christian Graus20-Oct-09 0:00
protectorChristian Graus20-Oct-09 0:00 
GeneralRe: Paging in DataList Pin
Shalini_U20-Oct-09 0:09
Shalini_U20-Oct-09 0:09 
GeneralRe: Paging in DataList Pin
Christian Graus20-Oct-09 0:37
protectorChristian Graus20-Oct-09 0:37 
GeneralRe: Paging in DataList Pin
Shalini_U20-Oct-09 2:24
Shalini_U20-Oct-09 2:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.