Saturday, March 31, 2012
The ASP.NET Web Matrix Project
http://www.asp.net/webmatrix/Normally I would say this is the not an ad forum...but...WOW! This is excellent. I recommend everyone to get this. If you dont have VS .NET, obviously that is a good reason to get it, and if you do have VS .NET, this is faster and feels cleaner.
Excellent IDE.
Originally posted by Cander
Normally I would say this is the not an ad forum...but...WOW! This is excellent. I recommend everyone to get this. If you dont have VS .NET, obviously that is a good reason to get it, and if you do have VS .NET, this is faster and feels cleaner.
Excellent IDE.
WOW is right.
This is a must have for any one doing ASPX coding without VS.Studio(lack of IntelliSense will annoy Studio users).
I downloaded it yesterday and am VERY impressed that MS could create something this clean and lite-weight(only 1.2 MB download ??!)
It even comes with it's own "lite" WEB server for those who have no use for all the bells and whistles of IIS.
And while it doesn't create CodeBehind DLLs(a plus in my book), it does generate DLLs for any Webservice you want to access.
Very cool.
John
another thing that is cool is that it only requires the 21 meg framework. So even though you couldnt run the IIS stuff with it, and they say its for 2000 and XP, it may still be installable on 98/ME so you could at least build pages on that as VS .NET doesnt isntall on 98/ME. Heck they didnt mention NT 4 in the specs and I was able to isntall it on NT and it works fine.
NOTE: There are some bugs still in it and features missing since it is just a preview, but it still works great, and beats notepad and VS .NET hands down.
Hi
I am start Dev In asp.net Is ASP.NET Web Matrix can help me
Do thing easly ? and Do I need to use COM+ as I did before ?
Thank You !
Elizabeth
elizavb@dotnet.itags.org.yahoo.com
------------------
And while it doesn't create CodeBehind DLLs(a plus in my book), it does generate DLLs for any Webservice you want to access.
------------------
How could u do that? do u need only the wsdl file?
Originally posted by tasmisr
How could u do that? do u need only the wsdl file?
Yes....Click on "Tools-WebService Proxy Generator" and put the link in to the wsdl and it creates and compiles the webservice class for you.
Very nice.
That can be done also at a command prompt but Matrix makes it easier.
so, when it produces a .dll file, this file could easly be used in other languages, like java, to call the original webservice methods and properties , am I right?
Originally posted by tasmisr
so, when it produces a .dll file, this file could easly be used in other languages, like java, to call the original webservice methods and properties , am I right?
There are a number of different languages that will work with webservices. C++, C#, VB and (Microsofts version of Java), J++ will work. I found a COBOL version that was re-designed to work with .NET that worked(looked REALLY freaky tho :) ).
But....regular Java isn't going to know squat about Webservices.
John
No the .NET dll will not work with other non .NET languages. They will have their own way of calling the web services.
The compiler failed with error code -1073741502
I was working on a little project, worked fine, but now all of a sudden I
get:
The compiler failed with error code -1073741502
as an error message (when running the site, not building).
I have NO idea what's wrong. I changed some code (only very small, which I
did like 10 times before that in the past 15 minutes) and I can't get it
back to work, whatever I do. The details of this error message are:
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: The compiler failed with error code -1073741502.
Show Detailed Compiler Output:
C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe"
/t:library /utf8output
/R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\s
ystem.web.mobile.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.
data.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\whoissite\d24d73f4\7403d467\assemb
ly\dl2\2f0f1907\a8f077d3_1bcbc401\wh
oissite.dll"
/R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11
d50a3a\system.enterpriseservices.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll"
/R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.w
eb.dll"
/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"
/R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a
\system.web.services.dll"
/R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.x
ml.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\syst
em.drawing.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\whoissite\d24d73f4\7403d467\aydmbx
nx.dll" /D:DEBUG /debug+ /optimize-
/warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\whoissite\d24d73f4\7403d467\aydmbx
nx.0.cs"
Show Complete Compilation Source:
Line 1:
//----
--
Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.2032
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and will
be lost if
Line 7: // the code is regenerated.
Line 8: // </autogenerated>
Line 9:
//----
--
Line 10:
Line 11: namespace ASP {
Line 12: using System;
Line 13: using System.Collections;
Line 14: using System.Collections.Specialized;
Line 15: using System.Configuration;
Line 16: using System.Text;
Line 17: using System.Text.RegularExpressions;
Line 18: using System.Web;
Line 19: using System.Web.Caching;
Line 20: using System.Web.SessionState;
Line 21: using System.Web.Security;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25:
Line 26:
Line 27:
[System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 28: public class Global_asax : WhoisSite.Global {
Line 29:
Line 30: private static bool __initialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_asax.__initialized == false)) {
Line 34: ASP.Global_asax.__initialized = true;
Line 35: }
Line 36: }
Line 37: }
Line 38: }
Line 39:
But when I only Build the project, it goes fine! I have already deleted the
site from IIS and Added it again, removed the temp folder it shows in
detailed compiler output, but without luck.
HELP?! :D
Thanks,
Razzieok solved it - somehow there was still an instance running in the background
(iexplore.exe) and I terminated them, and it worked again.
"Razzie" <razzieNOSPAM@dotnet.itags.org.quicknet.nl> wrote in message
news:O4o%23czxyEHA.3408@dotnet.itags.org.TK2MSFTNGP10.phx.gbl...
> Hi all,
> I was working on a little project, worked fine, but now all of a sudden I
> get:
> The compiler failed with error code -1073741502
> as an error message (when running the site, not building).
> I have NO idea what's wrong. I changed some code (only very small, which I
> did like 10 times before that in the past 15 minutes) and I can't get it
> back to work, whatever I do. The details of this error message are:
> Description: An error occurred during the compilation of a resource
> required to service this request. Please review the following specific
> error details and modify your source code appropriately.
> Compiler Error Message: The compiler failed with error code -1073741502.
> Show Detailed Compiler Output:
> C:\WINDOWS\system32>
> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library
> /utf8output
> /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a
\system.web.mobile.dll"
> /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\syste
m.data.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
> files\whoissite\d24d73f4\7403d467\assemb
ly\dl2\2f0f1907\a8f077d3_1bcbc401\
whoissite.dll"
> /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f
11d50a3a\system.enterpriseservices.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll"
> /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system
.web.dll"
> /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll
"
> /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a
3a\system.web.services.dll"
> /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system
.xml.dll"
> /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\sy
stem.drawing.dll"
> /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\whoissite\d24d73f4\7403d467\aydmbx
nx.dll" /D:DEBUG /debug+
> /optimize- /warnaserror /w:1
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\whoissite\d24d73f4\7403d467\aydmbx
nx.0.cs"
>
>
> Show Complete Compilation Source:
> Line 1:
> //---
--
> Line 2: // <autogenerated>
> Line 3: // This code was generated by a tool.
> Line 4: // Runtime Version: 1.1.4322.2032
> Line 5: //
> Line 6: // Changes to this file may cause incorrect behavior and
> will be lost if
> Line 7: // the code is regenerated.
> Line 8: // </autogenerated>
> Line 9:
> //---
--
> Line 10:
> Line 11: namespace ASP {
> Line 12: using System;
> Line 13: using System.Collections;
> Line 14: using System.Collections.Specialized;
> Line 15: using System.Configuration;
> Line 16: using System.Text;
> Line 17: using System.Text.RegularExpressions;
> Line 18: using System.Web;
> Line 19: using System.Web.Caching;
> Line 20: using System.Web.SessionState;
> Line 21: using System.Web.Security;
> Line 22: using System.Web.UI;
> Line 23: using System.Web.UI.WebControls;
> Line 24: using System.Web.UI.HtmlControls;
> Line 25:
> Line 26:
> Line 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
> Line 28: public class Global_asax : WhoisSite.Global {
> Line 29:
> Line 30: private static bool __initialized = false;
> Line 31:
> Line 32: public Global_asax() {
> Line 33: if ((ASP.Global_asax.__initialized == false)) {
> Line 34: ASP.Global_asax.__initialized = true;
> Line 35: }
> Line 36: }
> Line 37: }
> Line 38: }
> Line 39:
>
> But when I only Build the project, it goes fine! I have already deleted
> the site from IIS and Added it again, removed the temp folder it shows in
> detailed compiler output, but without luck.
> HELP?! :D
> Thanks,
> Razzie
>
Wednesday, March 28, 2012
The command prompt
umm where can i find the command prompt to use for this?> umm where can i find the command promp
start->run->cmd.exe
j
You can either open the command prompt from within Visual Studio menu or Start -> Run -> cmd
Hope that helps
Kashif
Huh?
I thought you cant use regular DOS command prompt to sign an assembly. I alway use Visual Studio .NET command prompt.
The compiler failed with error code -1073741502
I was working on a little project, worked fine, but now all of a sudden I
get:
The compiler failed with error code -1073741502
as an error message (when running the site, not building).
I have NO idea what's wrong. I changed some code (only very small, which I
did like 10 times before that in the past 15 minutes) and I can't get it
back to work, whatever I do. The details of this error message are:
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: The compiler failed with error code -1073741502.
Show Detailed Compiler Output:
C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe"
/t:library /utf8output
/R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\s
ystem.web.mobile.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.
data.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
files\whoissite\d24d73f4\7403d467\assemb
ly\dl2\2f0f1907\a8f077d3_1bcbc401\wh
oissite.dll"
/R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11
d50a3a\system.enterpriseservices.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll"
/R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.w
eb.dll"
/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll"
/R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a
\system.web.services.dll"
/R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.x
ml.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\syst
em.drawing.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\whoissite\d24d73f4\7403d467\aydmbx
nx.dll" /D:DEBUG /debug+ /optimize-
/warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\whoissite\d24d73f4\7403d467\aydmbx
nx.0.cs"
Show Complete Compilation Source:
Line 1:
//----
--
Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.2032
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and will
be lost if
Line 7: // the code is regenerated.
Line 8: // </autogenerated>
Line 9:
//----
--
Line 10:
Line 11: namespace ASP {
Line 12: using System;
Line 13: using System.Collections;
Line 14: using System.Collections.Specialized;
Line 15: using System.Configuration;
Line 16: using System.Text;
Line 17: using System.Text.RegularExpressions;
Line 18: using System.Web;
Line 19: using System.Web.Caching;
Line 20: using System.Web.SessionState;
Line 21: using System.Web.Security;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25:
Line 26:
Line 27:
[System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 28: public class Global_asax : WhoisSite.Global {
Line 29:
Line 30: private static bool __initialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_asax.__initialized == false)) {
Line 34: ASP.Global_asax.__initialized = true;
Line 35: }
Line 36: }
Line 37: }
Line 38: }
Line 39:
But when I only Build the project, it goes fine! I have already deleted the
site from IIS and Added it again, removed the temp folder it shows in
detailed compiler output, but without luck.
HELP?! :D
Thanks,
Razzieok solved it - somehow there was still an instance running in the background
(iexplore.exe) and I terminated them, and it worked again.
"Razzie" <razzieNOSPAM@dotnet.itags.org.quicknet.nl> wrote in message
news:O4o%23czxyEHA.3408@dotnet.itags.org.TK2MSFTNGP10.phx.gbl...
> Hi all,
> I was working on a little project, worked fine, but now all of a sudden I
> get:
> The compiler failed with error code -1073741502
> as an error message (when running the site, not building).
> I have NO idea what's wrong. I changed some code (only very small, which I
> did like 10 times before that in the past 15 minutes) and I can't get it
> back to work, whatever I do. The details of this error message are:
> Description: An error occurred during the compilation of a resource
> required to service this request. Please review the following specific
> error details and modify your source code appropriately.
> Compiler Error Message: The compiler failed with error code -1073741502.
> Show Detailed Compiler Output:
> C:\WINDOWS\system32>
> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library
> /utf8output
> /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a
\system.web.mobile.dll"
> /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\syste
m.data.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net
> files\whoissite\d24d73f4\7403d467\assemb
ly\dl2\2f0f1907\a8f077d3_1bcbc401\
whoissite.dll"
> /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f
11d50a3a\system.enterpriseservices.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll"
> /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system
.web.dll"
> /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll
"
> /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a
3a\system.web.services.dll"
> /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system
.xml.dll"
> /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\sy
stem.drawing.dll"
> /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\whoissite\d24d73f4\7403d467\aydmbx
nx.dll" /D:DEBUG /debug+
> /optimize- /warnaserror /w:1
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
> Files\whoissite\d24d73f4\7403d467\aydmbx
nx.0.cs"
>
>
> Show Complete Compilation Source:
> Line 1:
> //---
--
> Line 2: // <autogenerated>
> Line 3: // This code was generated by a tool.
> Line 4: // Runtime Version: 1.1.4322.2032
> Line 5: //
> Line 6: // Changes to this file may cause incorrect behavior and
> will be lost if
> Line 7: // the code is regenerated.
> Line 8: // </autogenerated>
> Line 9:
> //---
--
> Line 10:
> Line 11: namespace ASP {
> Line 12: using System;
> Line 13: using System.Collections;
> Line 14: using System.Collections.Specialized;
> Line 15: using System.Configuration;
> Line 16: using System.Text;
> Line 17: using System.Text.RegularExpressions;
> Line 18: using System.Web;
> Line 19: using System.Web.Caching;
> Line 20: using System.Web.SessionState;
> Line 21: using System.Web.Security;
> Line 22: using System.Web.UI;
> Line 23: using System.Web.UI.WebControls;
> Line 24: using System.Web.UI.HtmlControls;
> Line 25:
> Line 26:
> Line 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
> Line 28: public class Global_asax : WhoisSite.Global {
> Line 29:
> Line 30: private static bool __initialized = false;
> Line 31:
> Line 32: public Global_asax() {
> Line 33: if ((ASP.Global_asax.__initialized == false)) {
> Line 34: ASP.Global_asax.__initialized = true;
> Line 35: }
> Line 36: }
> Line 37: }
> Line 38: }
> Line 39:
>
> But when I only Build the project, it goes fine! I have already deleted
> the site from IIS and Added it again, removed the temp folder it shows in
> detailed compiler output, but without luck.
> HELP?! :D
> Thanks,
> Razzie
>
The compiler failed with error code -1073741502
I was working on a little project, worked fine, but now all of a sudden I
get:
The compiler failed with error code -1073741502
as an error message (when running the site, not building).
I have NO idea what's wrong. I changed some code (only very small, which I
did like 10 times before that in the past 15 minutes) and I can't get it
back to work, whatever I do. The details of this error message are:
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: The compiler failed with error code -1073741502.
Show Detailed Compiler Output:
C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\csc.e xe"
/t:library /utf8output
/R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000 .0__b03f5f7f11d50a3a\system.web.mobile.dll"
/R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b7 7a5c561934e089\system.data.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\tempo rary asp.net
files\whoissite\d24d73f4\7403d467\assembly\dl2\2f0 f1907\a8f077d3_1bcbc401\whoissite.dll"
/R:"c:\windows\assembly\gac\system.enterpriseservices\ 1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseserv ices.dll"
/R:"c:\windows\microsoft.net\framework\v1.1.4322\mscor lib.dll"
/R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03 f5f7f11d50a3a\system.web.dll"
/R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c5 61934e089\system.dll"
/R:"c:\windows\assembly\gac\system.web.services\1.0.50 00.0__b03f5f7f11d50a3a\system.web.services.dll"
/R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77 a5c561934e089\system.xml.dll"
/R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0_ _b03f5f7f11d50a3a\system.drawing.dll"
/out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
Files\whoissite\d24d73f4\7403d467\aydmbxnx.dll" /D:DEBUG /debug+ /optimize-
/warnaserror /w:1 "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary
ASP.NET Files\whoissite\d24d73f4\7403d467\aydmbxnx.0.cs"
Show Complete Compilation Source:
Line 1:
//------------------------
Line 2: // <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Runtime Version: 1.1.4322.2032
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and will
be lost if
Line 7: // the code is regenerated.
Line 8: // </autogenerated>
Line 9:
//------------------------
Line 10:
Line 11: namespace ASP {
Line 12: using System;
Line 13: using System.Collections;
Line 14: using System.Collections.Specialized;
Line 15: using System.Configuration;
Line 16: using System.Text;
Line 17: using System.Text.RegularExpressions;
Line 18: using System.Web;
Line 19: using System.Web.Caching;
Line 20: using System.Web.SessionState;
Line 21: using System.Web.Security;
Line 22: using System.Web.UI;
Line 23: using System.Web.UI.WebControls;
Line 24: using System.Web.UI.HtmlControls;
Line 25:
Line 26:
Line 27:
[System.Runtime.CompilerServices.CompilerGlobalScop eAttribute()]
Line 28: public class Global_asax : WhoisSite.Global {
Line 29:
Line 30: private static bool __initialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_asax.__initialized == false)) {
Line 34: ASP.Global_asax.__initialized = true;
Line 35: }
Line 36: }
Line 37: }
Line 38: }
Line 39:
But when I only Build the project, it goes fine! I have already deleted the
site from IIS and Added it again, removed the temp folder it shows in
detailed compiler output, but without luck.
HELP?! :D
Thanks,
Razzieok solved it - somehow there was still an instance running in the background
(iexplore.exe) and I terminated them, and it worked again.
"Razzie" <razzieNOSPAM@dotnet.itags.org.quicknet.nl> wrote in message
news:O4o%23czxyEHA.3408@dotnet.itags.org.TK2MSFTNGP10.phx.gbl...
> Hi all,
> I was working on a little project, worked fine, but now all of a sudden I
> get:
> The compiler failed with error code -1073741502
> as an error message (when running the site, not building).
> I have NO idea what's wrong. I changed some code (only very small, which I
> did like 10 times before that in the past 15 minutes) and I can't get it
> back to work, whatever I do. The details of this error message are:
> Description: An error occurred during the compilation of a resource
> required to service this request. Please review the following specific
> error details and modify your source code appropriately.
> Compiler Error Message: The compiler failed with error code -1073741502.
> Show Detailed Compiler Output:
> C:\WINDOWS\system32>
> "c:\windows\microsoft.net\framework\v1.1.4322\csc.e xe" /t:library
> /utf8output
> /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000 .0__b03f5f7f11d50a3a\system.web.mobile.dll"
> /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b7 7a5c561934e089\system.data.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\tempo rary asp.net
> files\whoissite\d24d73f4\7403d467\assembly\dl2\2f0 f1907\a8f077d3_1bcbc401\whoissite.dll"
> /R:"c:\windows\assembly\gac\system.enterpriseservices\ 1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseserv ices.dll"
> /R:"c:\windows\microsoft.net\framework\v1.1.4322\mscor lib.dll"
> /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03 f5f7f11d50a3a\system.web.dll"
> /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c5 61934e089\system.dll"
> /R:"c:\windows\assembly\gac\system.web.services\1.0.50 00.0__b03f5f7f11d50a3a\system.web.services.dll"
> /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77 a5c561934e089\system.xml.dll"
> /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0_ _b03f5f7f11d50a3a\system.drawing.dll"
> /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
> Files\whoissite\d24d73f4\7403d467\aydmbxnx.dll" /D:DEBUG /debug+
> /optimize- /warnaserror /w:1
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Tempo rary ASP.NET
> Files\whoissite\d24d73f4\7403d467\aydmbxnx.0.cs"
>
>
> Show Complete Compilation Source:
> Line 1:
> //------------------------
> Line 2: // <autogenerated>
> Line 3: // This code was generated by a tool.
> Line 4: // Runtime Version: 1.1.4322.2032
> Line 5: //
> Line 6: // Changes to this file may cause incorrect behavior and
> will be lost if
> Line 7: // the code is regenerated.
> Line 8: // </autogenerated>
> Line 9:
> //------------------------
> Line 10:
> Line 11: namespace ASP {
> Line 12: using System;
> Line 13: using System.Collections;
> Line 14: using System.Collections.Specialized;
> Line 15: using System.Configuration;
> Line 16: using System.Text;
> Line 17: using System.Text.RegularExpressions;
> Line 18: using System.Web;
> Line 19: using System.Web.Caching;
> Line 20: using System.Web.SessionState;
> Line 21: using System.Web.Security;
> Line 22: using System.Web.UI;
> Line 23: using System.Web.UI.WebControls;
> Line 24: using System.Web.UI.HtmlControls;
> Line 25:
> Line 26:
> Line 27: [System.Runtime.CompilerServices.CompilerGlobalScop eAttribute()]
> Line 28: public class Global_asax : WhoisSite.Global {
> Line 29:
> Line 30: private static bool __initialized = false;
> Line 31:
> Line 32: public Global_asax() {
> Line 33: if ((ASP.Global_asax.__initialized == false)) {
> Line 34: ASP.Global_asax.__initialized = true;
> Line 35: }
> Line 36: }
> Line 37: }
> Line 38: }
> Line 39:
>
> But when I only Build the project, it goes fine! I have already deleted
> the site from IIS and Added it again, removed the temp folder it shows in
> detailed compiler output, but without luck.
> HELP?! :D
> Thanks,
> Razzie
Monday, March 26, 2012
The connections current state is Connecting.
ExecuteReader requires an open and available Connection. The connection's current state is Connecting.
Shouldn't the connection object automatically wait until it's open and then move on ?
The code:
Have you stepped through the code to find out if it's executing the myConn.Open method?
Dim SQL As String, MyRead As OleDb.OleDbDataReaderTry
MyConn = New OleDb.OleDbConnection(ConfigurationSettings.AppSettings("ConnectionString"))
If MyConn.State <> ConnectionState.Open Then
MyConn.Open()
End If
Try
SQL = "SELECT * FROM tbl_table"
Dim MyCMD As New OleDb.OleDbCommand(SQL, MyConn)
MyRead = MyCMD.ExecuteReader
MyCMD.Dispose()
If Not MyRead.Read = False Then
LN = MyRead.GetString(0)
FN = MyRead.GetString(1)
EML = MyRead.GetString(2)
PHN = MyRead.GetString(3)
ADD = MyRead.GetString(4)
CITY = MyRead.GetString(5)
STATE = MyRead.GetString(6)
ZIP = MyRead.GetString(7)
COUNTRY = MyRead.GetString(8)
FAX = MyRead.GetString(9)
CELL = MyRead.GetString(10)
URL = MyRead.GetString(11)
COMPANY = MyRead.GetString(12)
End If
Catch ex As Exception
Call READ_EXCEPTION(ex)
Finally
MyRead.Close()
End Try
Catch ex As Exception
Call READ_EXCEPTION(ex)
Finally
MyConn.Dispose()
End Try
Not yet, the thing is that I can just refresh the page and it will start loading normally, it will do this completely at random.
The Controls (buttons) Are Not Displayed In Asp.net, after i ran the asp.net pro
i have created one new asp.net web application project (with visual basic enabled not C#).
i have used two "lables" and two "textboxes". after creating that webform. i ran that asp.net project.
but it did not show the form as what i have seen before ran.
it shows onle tow lables and it did not show the textbox controls. that too lables are shown top left cornor one by one. but i have used lables at center of the form.
i have attached two jpg files. first one is before run. second one for after run.
how to solve this problem.Can you post your code?
Run aspnet_regiis -c in the Visual Studio command prompt.
hi mendhak
how to enter visula studio command prompt. i am newbie to vb.net / asp.net
Start > Programs > Microsoft VIsual Studio > Visual Studio Tools > Visual Studio Command Prompt
hi mendhak
i tried this.
now i am seeing the error message "server application unavailable" in ie after exectuing my asp.net webapplication project.
but i am able to open iis server default pager when typing "http://localhost" in ie
how to solve that problem
Did you reset IIS after running aspnet_regiis?
Tuesday, March 13, 2012
The located assemblys manifest definition with name System.Drawing does not match the asse
I then used this on my machine to create a web project. It worked fine.
The project was then literally copied to the server. The problem is that I get the following error now
The located assembly's manifest definition with name 'System.Drawing' does not match the assembly reference.
and it highlights the code for the control.
Please tell me what I am doing wrong.
JagdipSolve it. I think the problem was with version numbers.
The dll I was using was made in Framework 1.1, when I only had Framework 1.0. Luckly, I could get a copy of the dll in Framework 1.0, and the control worked fine after that.
The main Issue on Browse folder in Web application??
I want to phrase my problem in a new way that the following code works well on the same system on debugging mode of the project but If I want to copy the url of the project and paste into new browser window without debugging mode, then the problem arises that Its shows progressing the browse folder dialog box does not appears any how. So If any one have the solution of my problem please reply me soon...
I written earlier on this topic shown below...
-----
I am facing a problem of browse folder. Its working fine on loacalhost but when I upload my project into my client's server, the browse folder dialog box does not appears any how. It giving no error but browser progress bar shows progressing...
Is the reason behind this is I have used Shell32.dll for browse folder.. Or there is another way of implementing browse folder functionality on my project..
Thanks
following is mine code
-----------------
Using shell32;
protected void AddFolder_Click(object sender, EventArgs e)
{
string strPath = "";
string strCaption = "Browse a directory for uploading Album.";
//DialogResult dlgResult;
string dlgResult = "";
Shell32.ShellClass shl = new Shell32.ShellClass();
Shell32.Folder2 fld = (Shell32.Folder2)shl.BrowseForFolder(0, strCaption, 0, System.Reflection.Missing.Value);
if (fld == null)
{
dlgResult = "Cancel";//DialogResult.Cancel;
}
else
{
strPath = fld.Self.Path;
lstboxFile.Items.Add(strPath);
//strPath = "albums\\MSN Home Page";
lstboxFile.Items.Add(strPath);
BaydonConstants.hif1.Add(strPath);
dlgResult = "Ok";//DialogResult.OK;
}
}
-----------------
Looks like the problem you are facing is due to security permissions in that folder, please do check on IIS folder permissions as well as the user running under IIS has enough access to that folder.
Merry Xmas
In what kind of environment are you using this? You can't use the shell classes in ASP.NET.
I am using it in a web application which have to run on LAN.
Hi,
Based on my understanding, you want to upload the whole folder and need to show the Directory OpenDialoge. If I have misunderstood you, please feel free to let me know.
As far as I know, you can't achieve this by using the codes above but it can be implemented by ActiveX which is unusual approach we use.
Instead of it, usually we useZip the files ormutiple filesupload to achieve it. There are two links as followings about uploading mutiple files.
http://www.codeproject.com/KB/aspnet/multiuploads.aspx
http://www.codeproject.com/aspnet/FlashUpload.asp
Or you can try thisscript about upload folder:http://scriptbuilders.net/files/uploadfolderaction1.0.html
Hope it helps.