Publish and test a WebMatrix web site using a Local Windows Server 2008http://forums.asp.net/t/1605979.aspx/1?Publish+and+test+a+WebMatrix+web+site+using+a+Local+Windows+Server+2008Tue, 05 Oct 2010 00:04:35 -040016059794095979http://forums.asp.net/p/1605979/4095979.aspx/1?Publish+and+test+a+WebMatrix+web+site+using+a+Local+Windows+Server+2008Publish and test a WebMatrix web site using a Local Windows Server 2008 <p>I am new to ASP.NET as well as to WebMatrix Beta Razor language.<br> </p> <p>I am trying to publish and test a Web Site from WebMatrix Beta IDE to a local Virtual Windows Server 2008 IIS Server.</p> <p>I did install SQL Server Express 2008 R2 at my local Virtual Windows Server 2008 (using Web Matrix Microsoft Web Platform).</p> <p>Everything works fine till I add a database table to my WebMatrix site.</p> <p>When I add a database table and Publish to local Virtual Windows Server 2008 IIS Server my WebMatrix IDE</p> <p>closes unexpectedlly without any error message.</p> <p>Running my Web Site using WebMatrix IISExpress works fine.<br> </p> <p>Any help will be very appreciated...&nbsp; </p> <p><br> </p> <p><br> </p> 2010-09-24T06:17:24-04:004100140http://forums.asp.net/p/1605979/4100140.aspx/1?Re+Publish+and+test+a+WebMatrix+web+site+using+a+Local+Windows+Server+2008Re: Publish and test a WebMatrix web site using a Local Windows Server 2008 <p>Sorry to hear that you're seeing a crash.&nbsp;Can&nbsp;you give more&nbsp;information about what settings you&nbsp;entered&nbsp;into the Publish Settings dialog?</p> 2010-09-27T16:42:51-04:004100369http://forums.asp.net/p/1605979/4100369.aspx/1?Re+Publish+and+test+a+WebMatrix+web+site+using+a+Local+Windows+Server+2008Re: Publish and test a WebMatrix web site using a Local Windows Server 2008 <p>How do I Publish?</p> <p>Protocol: WebDeploy<br> Server: MyServer<br> Password: ******<br> Site Name: Default Web Site<br> Destination URL: http://MyServer</p> <p>Notice:</p> <p>Everything works fine till I add a database table to my WebMatrix site.</p> <p>Crash occures as soon as I add a database table to my Web Site.</p> <p>Thanks in advance...<br> </p> 2010-09-27T20:01:23-04:004108037http://forums.asp.net/p/1605979/4108037.aspx/1?Re+Publish+and+test+a+WebMatrix+web+site+using+a+Local+Windows+Server+2008Re: Publish and test a WebMatrix web site using a Local Windows Server 2008 <p>You can find a log file under your temp folder %temp%\some-number\WebMatrix.exe.log</p> <p><br> </p> <p>You can either post it here, or send it directly to my email yigalatz@microsoft.com.</p> <p><br> </p> <p>I'm assuming the crash happens when you click publish, and not when you click add table. Is that correct?</p> 2010-10-02T01:31:19-04:004108140http://forums.asp.net/p/1605979/4108140.aspx/1?Re+Publish+and+test+a+WebMatrix+web+site+using+a+Local+Windows+Server+2008Re: Publish and test a WebMatrix web site using a Local Windows Server 2008 <p>That's correct, Webmatrix crashes when I click <b>Publish</b>.</p> <p><b>Validate Connection</b> results in Connected successfully.</p> <p>No ../WebMatrix.exe.log file found... <br> </p> 2010-10-02T06:16:08-04:004108603http://forums.asp.net/p/1605979/4108603.aspx/1?Re+Publish+and+test+a+WebMatrix+web+site+using+a+Local+Windows+Server+2008Re: Publish and test a WebMatrix web site using a Local Windows Server 2008 <p>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.</p> <p>A few more questions:</p> <p>1. What type of database are you using?</p> <p>2. Does any dialog come up after you click publish or does the app crash right away.&nbsp;</p> <p>3. Can you check the event logger and see if anything shows up there?</p> <p>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?</p> 2010-10-03T02:22:18-04:004111022http://forums.asp.net/p/1605979/4111022.aspx/1?Re+Publish+and+test+a+WebMatrix+web+site+using+a+Local+Windows+Server+2008Re: Publish and test a WebMatrix web site using a Local Windows Server 2008 <p>Hi Yishai,</p> <p>1. I am using a simple Webmatrix database table similar to the one presented in the Bakery sample.</p> <p>2. The app crashes<img src="http://forums.asp.net/tiny_mce/jscripts/tiny_mce/plugins/emotions/img/smiley-frown.gif" alt="Frown" title="Frown" border="0"> right away when I click Publish.</p> <p>3.&nbsp; The Event Logger shows up the following error:</p> <p>Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Application<br> Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft-Windows-IIS-IISManager<br> Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 04/10/2010 23:49:44<br> Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 13<br> Task Category: None<br> Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error<br> Keywords:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Classic<br> User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N/A<br> Computer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AVIP4A-W7-64<br> Description:<br> IISMANAGER_CRASH<br> <br> IIS Manager terminated unexpectedly.<br> <br> Exception:Microsoft.Web.Deployment.DeploymentException: An item with name 'Auto generated parameter 1000' has already been defined.<br> &nbsp;&nbsp; at Microsoft.Web.Deployment.Store.UniqueValueFileStoreCollection`1.Add(T item)</p> 2010-10-04T22:23:20-04:004111041http://forums.asp.net/p/1605979/4111041.aspx/1?Re+Publish+and+test+a+WebMatrix+web+site+using+a+Local+Windows+Server+2008Re: Publish and test a WebMatrix web site using a Local Windows Server 2008 <p>Hey again,</p> <p><br> </p> <p>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.</p> <p>It should look something like:</p> <p></p> &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;IISMANAGER_CRASH&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;IIS Manager terminated unexpectedly.&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;Exception:System.IO.IOException: The handle is invalid.&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;&nbsp;&nbsp; at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;&nbsp;&nbsp; at System.IO.__Error.WinIOError()&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;&nbsp;&nbsp; at System.Threading.EventWaitHandle.Set()&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;&nbsp;&nbsp; at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;&nbsp;&nbsp; at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;&nbsp;&nbsp; at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;&nbsp;&nbsp; at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;&nbsp;&nbsp; at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;&nbsp;&nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;&nbsp;&nbsp; at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;&nbsp;&nbsp; at System.Threading.ThreadPoolWorkQueue.Dispatch()&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;&nbsp;&nbsp; at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;&lt;/div&gt; &lt;div style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;&quot; id=&quot;_mcePaste&quot;&gt;Process:WebMatrix&lt;/div&gt; <p></p> <p>IISMANAGER_CRASH</p> <p>IIS Manager terminated unexpectedly.</p> <p><span class="Apple-style-span" style="font-size:11px">Exception:Microsoft.Web.Deployment.DeploymentException: An item with name 'Auto generated parameter 1000' has already been defined.<br> &nbsp;&nbsp; at Microsoft.Web.Deployment.Store.UniqueValueFileStoreCollection`1.Add(T item)</span></p> <p><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="">...</span></font></p> <p>more exception stack trace</p> <p>...</p> <p>Process:WebMatrix</p> <p></p> <p><br> </p> <p><br> </p> <p><br> </p> <p>Thanks again,</p> <p>Yishai</p> <p></p> 2010-10-04T22:52:43-04:004111078http://forums.asp.net/p/1605979/4111078.aspx/1?Re+Publish+and+test+a+WebMatrix+web+site+using+a+Local+Windows+Server+2008Re: Publish and test a WebMatrix web site using a Local Windows Server 2008 <p>Hello again,</p> <p><br> </p> <p>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.</p> <p>Please let us know if by using the new Beta version this issue was resolved.</p> <p><br> Again thanks a lot for your feedback</p> <p>Yishai</p> 2010-10-05T00:04:35-04:00