locked
Deployment Issue: Unknown Factory

    Question

  • Hey guys,

    Having a few issues deploying a package in IIS - Dunno if it's an IIS 7 issue, web deploy or a VS2010 issue at the moment, but after I publish my LS Project to a package and import I get an error: Unknown Factory (LightSwitchApplication).

    I've triple checked everything and can't find a reason for this. I've done some searching and it all seems to lead back to one thing relating to custom providers.

    Any ideas?

     

    Thanks!

    Sunday, August 29, 2010 2:45 PM

Answers

  • Make sure the VSLS Runtime is installed on the machine where IIS7 is running.  Can you also describe the OS and "bitness" (32 or 64 bit) of the machine where IIS is running?

     

    Sunday, August 29, 2010 10:27 PM

All replies

  • Make sure the VSLS Runtime is installed on the machine where IIS7 is running.  Can you also describe the OS and "bitness" (32 or 64 bit) of the machine where IIS is running?

     

    Sunday, August 29, 2010 10:27 PM
  • Hi, Matt.

    I'm developing on Windows 7 x86 and deploying on Windows Web Server 2008 x64.

    Is the VSLS Runtime independent of the Beta Installer at all, or do I need to run the Beta Installer on the IIS7 machine?

    I've only downloaded the x86 ISO.

     

    Thanks!

    Sunday, August 29, 2010 11:33 PM
  • I managed to find the VSLS Runtime on the ISO and Installed and Rebooted.

     

    So far so good! 

    Many thanks, Matt.

    Sunday, August 29, 2010 11:54 PM
  • I have the same problem.

    Where I can download the VSLS Runtime ? LS web installed doesn't have it.

    Thanks,
    Alexnaldo Santos

    Monday, August 30, 2010 11:59 PM
  • The VSLS Runtime is on the Lightswitch ISO... 

     

    Look in WCU\VSLSRedist

    It's the vs_vslsredist.exe

     

    You may have further problems after installing the Runtime though.

    Tuesday, August 31, 2010 12:04 AM
  • The public beta version of LS doesn't have .ISO only web installer.
    Tuesday, August 31, 2010 10:12 AM
  • Understood.

     

    Is there no runtime download available?

    Tuesday, August 31, 2010 10:23 AM
  • No. Nothing.

     

    Every ASP.NET application is a simple "copy" and configure IIS, but LS need more things....

    Tuesday, August 31, 2010 10:46 AM
  • This is true if you're running VWD Express as far as I'm aware.

    It MAY be available via the Web Platform installer - I'm not 100% sure though.

    Tuesday, August 31, 2010 11:11 AM
  • No. Web Plataform doesn't have it.
    Tuesday, August 31, 2010 11:16 AM
  • I have same problem and not resolved
    Friday, September 10, 2010 7:48 PM
  • Has this been resolved?  This seems to be the only forum on the internet that has the same issue as me.  I have the runtime installed, but still getting this error :(
    Tuesday, October 12, 2010 8:14 PM
  • Try to reboot the machine after installing VSLS runtime
    Saturday, October 16, 2010 5:24 AM
  • It does not fix my problem.. As far as i know i already follow everything from the post.. But still i cannot make it work.. I got still problem. Does it has anything to do with MSDeploy 2?
    Monday, March 28, 2011 11:36 AM
  • For me, it had to do with the order I installed everything. I recommend uninstalling everything and starting over.
    Monday, March 28, 2011 12:31 PM