Licensing trouble in asp.net application
robwingate
Posts: 3
Hi Red Gate,
Many-year user, first-time poster
I'm using the SDK (v10) in an asp.net application. It works beautifully in Visual Studio 2010 using Cassini on localhost, but when I deploy to the webserver, ComparisonSession's constructor throws this error:
"Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application."
I am following the instructions below for licensing ASP.NET apps, using lc.exe and al.exe etc:
http://documentation.red-gate.com/displ ... stribution
I am never asked to enter my serial number anywhere. However, after generating the .license file and Licenses.Resources.dll, I can see that my serial number is embedded in the DLL. I'm copying the ApplicationName.Licenses.Resources.dll into the Bin folder of the web app, but the error persists. I must be missing something!!
1) How critical is the naming of the DLL? My dll is "Wave.Licensing.Data.Sync.Licenses.Resources.dll". The DLL that uses the SQL Compare SDK is "Wave.Licensing.Data.Sync.dll". They sit side-by-side in the bin folder.
2) Why would I not be asked for my serial number in Visual Studio, but clearly the ASP.NET runtime is being asked to show a modal dialog? I do have several other tools from SQL Toolbelt installed and licensed on my computer.
3) Do I need to add a reference to Wave.Licensing.Data.Sync.Licenses.Resources.dll? (I did but it didn't help)
Thanks very much for any guidance!
Rob
Many-year user, first-time poster
I'm using the SDK (v10) in an asp.net application. It works beautifully in Visual Studio 2010 using Cassini on localhost, but when I deploy to the webserver, ComparisonSession's constructor throws this error:
"Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application."
I am following the instructions below for licensing ASP.NET apps, using lc.exe and al.exe etc:
http://documentation.red-gate.com/displ ... stribution
I am never asked to enter my serial number anywhere. However, after generating the .license file and Licenses.Resources.dll, I can see that my serial number is embedded in the DLL. I'm copying the ApplicationName.Licenses.Resources.dll into the Bin folder of the web app, but the error persists. I must be missing something!!
1) How critical is the naming of the DLL? My dll is "Wave.Licensing.Data.Sync.Licenses.Resources.dll". The DLL that uses the SQL Compare SDK is "Wave.Licensing.Data.Sync.dll". They sit side-by-side in the bin folder.
2) Why would I not be asked for my serial number in Visual Studio, but clearly the ASP.NET runtime is being asked to show a modal dialog? I do have several other tools from SQL Toolbelt installed and licensed on my computer.
3) Do I need to add a reference to Wave.Licensing.Data.Sync.Licenses.Resources.dll? (I did but it didn't help)
Thanks very much for any guidance!
Rob
Comments
Thanks again,
Rob
Redgate: You are loosing a customer because your DRM is too intrusive and you don't seem to care about responding to your customers questions.