trueknight2007 wrote:
Has anyone else had this error/warning: "There are no objects in database 'C:\Documents and Settings\HPAdministrator.GIDEON\My Documents\Visual Studio 2005\WebSites\test-personal\AppData\CovalenceSQLDatabase.mdf' of the types scriptable by this wizard". If so what causes it and how can I fix it or find a work around? The database I am trying to create the sql file for is for a AJAX enabled website. Any suggestions?
I had this problem. I noticed my path was 131 characters long (just over one of those "powers of two" magic numbers (128 in this case)) and copied the mdf file to a shorter path, ran C:\Program Files\Microsoft SQL Server\90\Tools\Publishing\1.2\SqlPubWiz.exe independent of Visual Studio, and was quite successful with it. My guess is that it only allows for a 128 character path in all.