Hi,I am a fairly seasoned .NET developer, and Lightswitch interested me so I took a look. No problems creating an app and running it. Problem comes when trying to host it on IIS. Works fine in IDE, both as client and Web App. However IIS screws up everything with the above message.I have burthered around with various edits to the web.config, nothing has made any difference. I even found somebody referring to this error as the 'dreaded error'. I have even taken authentication off and it still remained.It seems such a shame that something like Lightswitch's capabilities is wrecked by IIS, as it does seem to screw up so many things for people. My IIS by the way is on Win 7 Ultimate, and is on my development machine.Anyone got a solution?thanks in advance
I've been hosting LS "production" systems with IIS since Beta 1 (Beta 1 apps were run on in house servers for functions that were previously done manually as Beta 1 did not have a Go Live license).We are currently running 3 rather complex LS apps that all share a common database including a shared aspnet set of security tables.Currently we use a hosted Hyper-V VM with http://www.vservercenter.comI publish directly to the server from Visual Studio to IIS. I've never had an easier deployment process. It only takes one click.
Hey Garth,Real pleased it works for you with no issues. Perhaps the reason you don't have the problem is because you have shared security tables, I don't know. What I do know is I am getting this messageLoad operation failed for query 'GetAuthenticationInfo'. The remote server returned an error: NotFound.Load operation failed for query 'GetAuthenticationInfo'. The remote server returned an error: NotFound.Like I said before, I have even turned off authentication and still this happens so I guess this message is some other type of authentication. The application works fine as a client app so the only area I could point the finger at is IIS. I am prepared to hold my hands up and have done something wrong, but to be honest, the message is pretty much useless, it really gives no place to go as I haven't created a routine called GetAuthenticationInfo, so that belongs to Microsoft.Apparently this is one of those 'catch-bucket' messages, a number of problems can cause this, which is always useful however, I have binged away and tried the suggestions for each problem found to no joy.Does anyone know if Lightswitch plays nice if you have Silverlight 5 installed? I know that VSLS 2011 worked with Silverlight 4 and I have seen a few sites break when silverlight 5 is used. Does the new VS 11 Beta version of Lightswitch play nice with Silverlight 5.I really am clutching at straws here, I don't know where to go next as it really should be as easy as Garth says.