I looked around, and we don't know about any crash similar to the one you are describing. I will be really helpful to track down it down. Thanks for reporting it.
A few more questions:
1. What type of database are you using?
2. Does any dialog come up after you click publish or does the app crash right away.
3. Can you check the event logger and see if anything shows up there?
4. Can you share your server credentials, assuming it's accessible externally (to my Microsoft email above), along with your project so I can try and reproduce this crash?
Exception:Microsoft.Web.Deployment.DeploymentException: An item with name 'Auto generated parameter 1000' has already been defined.
at Microsoft.Web.Deployment.Store.UniqueValueFileStoreCollection`1.Add(T item)
Thanks for getting back with us. Typically the event logger will show more the exception stack trace. Can you please send us the whole message all the way down.
Exception:Microsoft.Web.Deployment.DeploymentException: An item with name 'Auto generated parameter 1000' has already been defined.
at Microsoft.Web.Deployment.Store.UniqueValueFileStoreCollection`1.Add(T item)
Actually that one line of trace helped us track this issue down. We fixed it, and we expect to release a new Beta in the next few days. At that point this issue should be gone.
Please let us know if by using the new Beta version this issue was resolved.
akahan48
0 Points
4 Posts
Publish and test a WebMatrix web site using a Local Windows Server 2008
Sep 24, 2010 06:17 AM|LINK
I am new to ASP.NET as well as to WebMatrix Beta Razor language.
I am trying to publish and test a Web Site from WebMatrix Beta IDE to a local Virtual Windows Server 2008 IIS Server.
I did install SQL Server Express 2008 R2 at my local Virtual Windows Server 2008 (using Web Matrix Microsoft Web Platform).
Everything works fine till I add a database table to my WebMatrix site.
When I add a database table and Publish to local Virtual Windows Server 2008 IIS Server my WebMatrix IDE
closes unexpectedlly without any error message.
Running my Web Site using WebMatrix IISExpress works fine.
Any help will be very appreciated...
WebMatrix Local Server Publish Database
panic_at_the...
Member
32 Points
6 Posts
Re: Publish and test a WebMatrix web site using a Local Windows Server 2008
Sep 27, 2010 04:42 PM|LINK
Sorry to hear that you're seeing a crash. Can you give more information about what settings you entered into the Publish Settings dialog?
akahan48
0 Points
4 Posts
Re: Publish and test a WebMatrix web site using a Local Windows Server 2008
Sep 27, 2010 08:01 PM|LINK
How do I Publish?
Protocol: WebDeploy
Server: MyServer
Password: ******
Site Name: Default Web Site
Destination URL: http://MyServer
Notice:
Everything works fine till I add a database table to my WebMatrix site.
Crash occures as soon as I add a database table to my Web Site.
Thanks in advance...
Yishai G.
Member
18 Points
9 Posts
Re: Publish and test a WebMatrix web site using a Local Windows Server 2008
Oct 02, 2010 01:31 AM|LINK
You can find a log file under your temp folder %temp%\some-number\WebMatrix.exe.log
You can either post it here, or send it directly to my email yigalatz@microsoft.com.
I'm assuming the crash happens when you click publish, and not when you click add table. Is that correct?
akahan48
0 Points
4 Posts
Re: Publish and test a WebMatrix web site using a Local Windows Server 2008
Oct 02, 2010 06:16 AM|LINK
That's correct, Webmatrix crashes when I click Publish.
Validate Connection results in Connected successfully.
No ../WebMatrix.exe.log file found...
Yishai G.
Member
18 Points
9 Posts
Re: Publish and test a WebMatrix web site using a Local Windows Server 2008
Oct 03, 2010 02:22 AM|LINK
I looked around, and we don't know about any crash similar to the one you are describing. I will be really helpful to track down it down. Thanks for reporting it.
A few more questions:
1. What type of database are you using?
2. Does any dialog come up after you click publish or does the app crash right away.
3. Can you check the event logger and see if anything shows up there?
4. Can you share your server credentials, assuming it's accessible externally (to my Microsoft email above), along with your project so I can try and reproduce this crash?
akahan48
0 Points
4 Posts
Re: Publish and test a WebMatrix web site using a Local Windows Server 2008
Oct 04, 2010 10:23 PM|LINK
Hi Yishai,
1. I am using a simple Webmatrix database table similar to the one presented in the Bakery sample.
2. The app crashes
right away when I click Publish.
3. The Event Logger shows up the following error:
Log Name: Application
Source: Microsoft-Windows-IIS-IISManager
Date: 04/10/2010 23:49:44
Event ID: 13
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: AVIP4A-W7-64
Description:
IISMANAGER_CRASH
IIS Manager terminated unexpectedly.
Exception:Microsoft.Web.Deployment.DeploymentException: An item with name 'Auto generated parameter 1000' has already been defined.
at Microsoft.Web.Deployment.Store.UniqueValueFileStoreCollection`1.Add(T item)
Yishai G.
Member
18 Points
9 Posts
Re: Publish and test a WebMatrix web site using a Local Windows Server 2008
Oct 04, 2010 10:52 PM|LINK
Hey again,
Thanks for getting back with us. Typically the event logger will show more the exception stack trace. Can you please send us the whole message all the way down.
It should look something like:
<div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste">IISMANAGER_CRASH</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"></div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste">IIS Manager terminated unexpectedly.</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"></div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste">Exception:System.IO.IOException: The handle is invalid.</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"></div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> at System.IO.__Error.WinIOError()</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> at System.Threading.EventWaitHandle.Set()</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> at System.Threading.ThreadPoolWorkQueue.Dispatch()</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"> at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()</div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste"></div> <div style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;" id="_mcePaste">Process:WebMatrix</div>IISMANAGER_CRASH
IIS Manager terminated unexpectedly.
Exception:Microsoft.Web.Deployment.DeploymentException: An item with name 'Auto generated parameter 1000' has already been defined.
at Microsoft.Web.Deployment.Store.UniqueValueFileStoreCollection`1.Add(T item)
...
more exception stack trace
...
Process:WebMatrix
Thanks again,
Yishai
Yishai G.
Member
18 Points
9 Posts
Re: Publish and test a WebMatrix web site using a Local Windows Server 2008
Oct 05, 2010 12:04 AM|LINK
Hello again,
Actually that one line of trace helped us track this issue down. We fixed it, and we expect to release a new Beta in the next few days. At that point this issue should be gone.
Please let us know if by using the new Beta version this issue was resolved.
Again thanks a lot for your feedback
Yishai