|
-
Dec 14th, 2010, 09:03 AM
#1
Thread Starter
Fanatic Member
Problem Publishing
I am getting two errors
1) Cannot publish because a project failed to build.
2) An error occurred while signing: SignTool.exe not found.
Regarding #1, I can manually build and rebuild the application without error. I only get this error when I try to Publish.
Regarding #2, I looked in my SDK\v3.5\Bin directory and indeed the signtool was not there. In fact I only had 3 files (genasm.exe, genasm.exe.config, and hidpi.res). I copied the signtool.exe from the Visual Studio 2005, (file dated 10/26/2006), but I still get the same error saying it can not find the file.
Any guidance would be appreciated.
-
Dec 14th, 2010, 09:01 PM
#2
Re: Problem Publishing
 Originally Posted by John_SC
I am getting two errors
1) Cannot publish because a project failed to build.
2) An error occurred while signing: SignTool.exe not found.
Regarding #1, I can manually build and rebuild the application without error. I only get this error when I try to Publish.
Regarding #2, I looked in my SDK\v3.5\Bin directory and indeed the signtool was not there. In fact I only had 3 files (genasm.exe, genasm.exe.config, and hidpi.res). I copied the signtool.exe from the Visual Studio 2005, (file dated 10/26/2006), but I still get the same error saying it can not find the file.
Any guidance would be appreciated.
Install the SDK which contains the sign tool and then try again
http://www.microsoft.com/downloads/e...displaylang=en
-
Dec 14th, 2010, 09:06 PM
#3
Thread Starter
Fanatic Member
Re: Problem Publishing
This link is for Windows 7. I am running XP, although the target users will be on Windows 7.
When the page indicates it is for Windows 7, I am not sure if they mean the developer machine or the target machine. Anyone know which it is?
-
Dec 14th, 2010, 10:35 PM
#4
Re: Problem Publishing
 Originally Posted by John_SC
This link is for Windows 7. I am running XP, although the target users will be on Windows 7.
When the page indicates it is for Windows 7, I am not sure if they mean the developer machine or the target machine. Anyone know which it is?
This is for developers
As per information from the link
Supported Operating Systems
Supported Operating Systems:Windows 7;Windows Server 2003 R2 Standard Edition (32-bit x86);Windows Server 2003 R2 Standard x64 Edition;Windows Server 2008;Windows Server 2008 R2;Windows Vista;Windows XP Service Pack 3
-
Dec 14th, 2010, 10:51 PM
#5
Thread Starter
Fanatic Member
Re: Problem Publishing
Thanks, I missed the reference to XP. I will give it a try tomorrow, and post back results.
-
Dec 15th, 2010, 11:38 AM
#6
Thread Starter
Fanatic Member
Re: Problem Publishing
I went ahead and installed the SDK at http://www.microsoft.com/downloads/e...displaylang=en
Now I do not see either of the two errors, but I get a message saying
Code:
This webpage is not found.
No webpage was found for the web address: file:///C:/Documents%20and%20Settings/MYLapTop/My%20Documents/Visual%20Studio%202008/Projects_Real/NewBrowser/NewBrowser/publish%22
I believe the %22 is an escaped quote mark ("). I tried putting various dummy web pages in the Publish subdirectory including (default.htm, default.html, index.htm, index.html).
I don't have a web site for this app. How can I address this error and/or change the specification for the webpage?
-
Dec 15th, 2010, 11:45 AM
#7
Re: Problem Publishing
 Originally Posted by John_SC
I went ahead and installed the SDK at http://www.microsoft.com/downloads/e...displaylang=en
Now I do not see either of the two errors, but I get a message saying
Code:
This webpage is not found.
No webpage was found for the web address: file:///C:/Documents%20and%20Settings/MYLapTop/My%20Documents/Visual%20Studio%202008/Projects_Real/NewBrowser/NewBrowser/publish%22
I believe the %22 is an escaped quote mark ("). I tried putting various dummy web pages in the Publish subdirectory including (default.htm, default.html, index.htm, index.html).
I don't have a web site for this app. How can I address this error and/or change the specification for the webpage?
I would try this out where the path has no spaces in it. Get the short path name and then try again or create the project under a folder with no spaces.
Also it does not make sense (at least to me) that there is a trailing " and no beginning ".
-
Dec 15th, 2010, 12:00 PM
#8
Thread Starter
Fanatic Member
Re: Problem Publishing
No Joy.
Code:
This webpage is not found.
No webpage was found for the web address:
file:///C:/tmp/NewBrowser/NewBrowser/publish%22
Note, I specified that the application will not check for updates. There is the option to check, in which case I have to specify a web page, the default being
Code:
http://localhost/NewBrowser/
but again, I am not using that option. I am not sure if the "publishing" has completed other than this error.
-
Dec 15th, 2010, 12:17 PM
#9
Re: Problem Publishing
 Originally Posted by John_SC
No Joy.
Code:
This webpage is not found.
No webpage was found for the web address:
file:///C:/tmp/NewBrowser/NewBrowser/publish%22
Note, I specified that the application will not check for updates. There is the option to check, in which case I have to specify a web page, the default being
Code:
http://localhost/NewBrowser/
but again, I am not using that option. I am not sure if the "publishing" has completed other than this error.
Have you tried to remove the %22
I just did a publish and no %22 added to the path.
-
Dec 15th, 2010, 12:39 PM
#10
Thread Starter
Fanatic Member
Re: Problem Publishing
I never typed anything in - never specified a web page. So I don't know how to remove it. Is it in the Application Properties some where? I could not find it.
The install program is created and seems to work however no Icon was installed on my desktop, and the application was not installed under programs under Start. I thought it was suppose to do both of these. The Publish process may be terminating prior to these steps being accomplished.
-
Dec 15th, 2010, 12:48 PM
#11
Re: Problem Publishing
 Originally Posted by John_SC
I never typed anything in - never specified a web page. So I don't know how to remove it. Is it in the Application Properties some where? I could not find it.
The install program is created and seems to work however no Icon was installed on my desktop, and the application was not installed under programs under Start. I thought it was suppose to do both of these. The Publish process may be terminating prior to these steps being accomplished.
Was a file created [ApplicationName.Published.xml in the main app folder? While the project is selected select from the IDE menu Project->Show all files then see if the file exists.
Example, publishUrl is quoted beginning and end.
From VS2010
Code:
<?xml version="1.0" encoding="utf-8"?>
<publishData>
<publishProfile publishUrl="C:\Dotnetland2010\MyPublishedSite"
deleteExistingFiles="False"
ftpAnonymousLogin="False"
ftpPassiveMode="True"
msdeploySite=""
msdeploySiteID=""
msdeployRemoteSitePhysicalPath=""
msdeployAllowUntrustedCertificate="True"
msdeploySkipExtraFilesOnServer="True"
msdeployMarkAsApp="False"
profileName="Profile1"
publishMethod="FileSystem"
replaceMatchingFiles="True"
userName="" savePWD="False"
userPWD=""
SelectedForPublish="True">
<file relUrl="Web.config" publishTime="12/15/2010 08:12:27" />
<file relUrl="Site.Master" publishTime="12/15/2010 08:09:29" />
<file relUrl="Account/Web.config" publishTime="12/15/2010 08:09:29" />
<file relUrl="Account/Register.aspx" publishTime="12/15/2010 08:09:29" />
<file relUrl="bin/WebApplication1.pdb" publishTime="12/15/2010 08:10:37" />
<file relUrl="Account/ChangePasswordSuccess.aspx" publishTime="12/15/2010 08:09:29" />
<file relUrl="Account/Login.aspx" publishTime="12/15/2010 08:09:29" />
<file relUrl="Styles/Site.css" publishTime="12/15/2010 08:09:29" />
<file relUrl="Scripts/jquery-1.4.1.js" publishTime="12/15/2010 08:09:29" />
<file relUrl="Account/ChangePassword.aspx" publishTime="12/15/2010 08:09:29" />
<file relUrl="bin/WebApplication1.dll" publishTime="12/15/2010 08:10:37" />
<file relUrl="Global.asax" publishTime="12/15/2010 08:09:29" />
<file relUrl="bin/WebApplication1.xml" publishTime="12/15/2010 08:10:37" />
<file relUrl="Scripts/jquery-1.4.1-vsdoc.js" publishTime="12/15/2010 08:09:29" />
<file relUrl="About.aspx" publishTime="12/15/2010 08:09:29" />
<file relUrl="Default.aspx" publishTime="12/15/2010 08:09:29" />
<file relUrl="Scripts/jquery-1.4.1.min.js" publishTime="12/15/2010 08:09:29" />
</publishProfile>
</publishData>
-
Dec 15th, 2010, 01:05 PM
#12
Thread Starter
Fanatic Member
Re: Problem Publishing
Nope, this was not created. I have 4 *.xml files. They are in
bin\Debug\
bin\Release\
obj\Debug\
obj\Release\
No others were found anywhere in my app.
-
Dec 15th, 2010, 01:26 PM
#13
Re: Problem Publishing
Are you starting SignTool from the Visual Studio Command Prompt as follows
signtool signwizard
-
Dec 15th, 2010, 02:14 PM
#14
Thread Starter
Fanatic Member
Re: Problem Publishing
I don't run signtool at all. I am assuming the Publish wizard does that. I am not even aware of the Visual Studio Command Prompt. If it matters, I am running 2008.
-
Dec 15th, 2010, 02:46 PM
#15
Re: Problem Publishing
If nobody else has a clue to why this is happening you might want to ask this question at ClickOnce and Setup & Deployment Projects MSDN forum or perhaps find information here
-
Dec 15th, 2010, 03:09 PM
#16
Thread Starter
Fanatic Member
Re: Problem Publishing
I will do that and report back if I ever find an answer. Thanks for taking a shot at it.
-
Dec 15th, 2010, 04:45 PM
#17
Thread Starter
Fanatic Member
Re: Problem Publishing
Still no answer, but more info. I created a new clean application with just one form with an exit button. Publishing this using the defaults:
location: publish\
From a CD-Rom or DVD-ROM
The Application will not check for updates
and I still get the error that
This webpage is not found.
No webpage was found for the web address:
file:///C:/Documents%20and%20Settings/MyLapTop/My%20Documents/Visual%20Studio%202008/Projects_352/junk-1/junk-1/publish%22
with the %22 being a quote (") mark.
Can others Publish without this error? I am running VS 2008 Version 9.0.30729.1 SP; .Net Framework 3.5 SP1
-
Dec 15th, 2010, 04:59 PM
#18
Re: Problem Publishing
 Originally Posted by John_SC
Can others Publish without this error? I am running VS 2008 Version 9.0.30729.1 SP; .Net Framework 3.5 SP1
I can publish in VS2008 and VS2010 under Windows XP, have not tried Vista.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|