Link to home
Start Free TrialLog in
Avatar of Starr Duskk
Starr DuskkFlag for United States of America

asked on

VS2012 Publish to new server cutting off files

My client has setup a new web server. The current production server is windows server 2008 R2 enterprise, with IIS7.

the new one is Windows Server 2008 R2 DataCenter, with IIS7.

When I publish the exact same code to the new server and look at the resulting files, it has cut off in the file before it completes! My source is fine. I've double and triple checked that. But the destination files are cut off and only part of the content is published.

For instance,

Compiler Error Message: BC30481: 'Class' statement must end with a matching 'End Class'.

And:
Warning: BC42105: Function 'LoadCertificate' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.

And:
Warning: BC42024: Unused local variable: 'UnitI'.
And it displays this:
Line 255:                  Dim UnitI

But when I check the local file, the actual code line reads:
Dim UnitId As Integer = INVALID_ID

When I check the remote file, sure enough the code ends at:
Dim UnitI

For some reason it is not publishing the entire files I am sending!

Any ideas?

thanks!
SOLUTION
Avatar of Carl Tawn
Carl Tawn
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Starr Duskk

ASKER

resolved.