|
I had my control in a subdirectory of the web root
\webroot\test\bin\mycontrol.dll
\webroot\test\mycontrol.aspx
That gave me the following error
File or assembly name MyControl, or one of its dependencies, was not found.
To fix it all I had to do was move the \bin dir to the root
\webroot\bin\mycontrol.dll
\webroot\test\mycontrol.aspx
and it worked!
Todd Smith
|
|
|
|
|
With all this emphesis on .NET and the internet. Why is there not class in the new .NET Framework to parse HTML tags?
|
|
|
|
|
well, if you use xhtml, you can just use the built in xml namespace.
otherwise, you could use com interop to talk to ie.
|
|
|
|
|
Ok, I built a test web service using VS.NET. How do I call the web methods within this service remotely? I want to call the service from a machine with no .NET Framework or IDE installed.
Previously I used Microsoft's SOAP Toolkit to create a web service from an existing com object. It was easy to call the service in vb script by creating a soap client object, all I need to know was the url of the .wsdl file for the service.
But there is no .wsdl file in my .NET web service project. How do I access this service? Please help.
Thanks.
|
|
|
|
|
You can use the SOAP toolkit for this also.
You access the WSDL by sticking ?WSDL onto the end of the URL
e.g. http://localhost/webservice.asmx?WSDL
Dave.
|
|
|
|
|
Thanks. I already tried that. The problem is, SOAP toolkit doesn't seem to be compatible with .NET web service. I always got an error saying something like "SoapPort failed, etc.".
|
|
|
|
|
Not sure it this is what you are looking for, but you could invoke web service method(s) via HTTP GET or POST.
Mike M
WinInsider.com
|
|
|
|
|
Hi
Is it Possible to Create a Setup From VS.Net , to Setup the .Net Fram work it self?
Thanks.
Gaurika.
Gaurika Wijeratne. // www.gaurika.com
|
|
|
|
|
If you are familiar with Windows Installer (.msi files) there is a merge module you can use to install the framework.
Unfortunately, I'm not familiar with Windows Installer so I have no idea what you do with it
James
Simplicity Rules!
|
|
|
|
|
Wht is the Fastest from vb.net, c# and Managed C++ ?
Gaurika Wijeratne. // www.gaurika.com
|
|
|
|
|
If I remember correctly Managed C++ is just a smidge faster than C#; C# and VB.NET are about the same after JIT, but VB.NET produces a lot of no-op IL opcodes, which get compiled away.
James
Simplicity Rules!
|
|
|
|
|
Thanks James
What is no-op ?
Gaurika Wijeratne. // www.gaurika.com
|
|
|
|
|
Its an instruction to do nothing.
I'm not sure of Intel processor's but the Sparc requires nop (the sparc name for no-op) before you do any branching (ie goto).
James
Simplicity Rules!
|
|
|
|
|
Thanks..
Gaurika Wijeratne. // www.gaurika.com
|
|
|
|
|
Does anyone know the value for the second parameter that is required when calling Documents.Open from the VSNet Object model? MS have made the second parameter a String to describe the Kind of document being opened (Enum anyone?) but I can't find any documentation on what the value should be. Empty string and null string both cause a " The Parameter Is Incorrect" exception to be thrown.
if(E_NOINTERFACE == pThat->QueryInterface(IID_IUnknown,(void**)&pUnk))
{
// I aint no pUnk bitch!
}
|
|
|
|
|
Duh.
Tried "Text" and it worked. Anyone got any common sense they could lend me?
Steve.
if(E_NOINTERFACE == pThat->QueryInterface(IID_IUnknown,(void**)&pUnk))
{
// I aint no pUnk bitch!
}
|
|
|
|
|
Hello,
Is the concept of n-tier architecture same in .NET? If yes, what is the substitute of COM in .NET framework or the COM will work the same way as it is working now? Can anyone provide me with some links where I can find about developing n-tier applications using .NET?
Thanks in advance
Hitesh
|
|
|
|
|
Search along this links:
Building Distributed Applications with .NET
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/entserv.asp
Understanding Enterprise Services (COM+) in .NET
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/entserv.asp
The .NET Show: Application Architecture
http://msdn.microsoft.com/theshow/
Andres Manggini.
Buenos Aires - Argentina.
|
|
|
|
|
I have a project that works properly in VC6++. I converted this project to VC++ 7, but this project did not link: "error LNK2001: unresolved external symbol "protected: static struct AFX_MSGMAP const CWnd::messageMap" (?messageMap@CWnd@@1UAFX_MSGMAP@@B".
Any clue?
|
|
|
|
|
Do you "have use in MFC" option properly set in the project options? I suspect that it is set to "Not using MFC" for some reason.
|
|
|
|
|
I checked the project settings: Configuration Properties -> General -> Use of MFC: Use MFC in a Shared DLL.
I think there is no problem with the MFC settings...
|
|
|
|
|
Hi all,
If I enable outlining for C++ files in options, when I double click on a class member in class view for the first time, it takes me to the correct place, however, after that, double clicking on another member takes me to the wrong place. Anyone else have the same problem? I'll try this at home tonight too. Thanks for any help!
-Lunchy
|
|
|
|
|
Yup, same thing at home....:/
-Lunchy
|
|
|
|
|
I used COM+/MTS with VB6, but I get the feeling that the COM+ & .NET match is very much a version 1 solution.
I've been reading this article and it's done nothing to dispell my fears.
I no longer see COM+ as an object broker, and the transaction infrastructure that it gives you comes at the cost of crossing the managed-unmanaged process boundary. Is COM+ going to change drastically when the .NET servers come out?
I certainly hope they will, and in VS.NET's favor!
Cheers,
Simon
"Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond
|
|
|
|
|
When I run anything in Debug mode, VS .NET just freezes. If I run it non-debug mode, [Ctrl-F5] it works fine.
I tried to do a Repair/ReInstall but it freezes while generating the setup script
Now I am going to try to UnInstall and ReInstall VS .NET!
My bad luck seems to be getting worse and worse each day
Nish
p.s. Any suggestions are welcome!
The posting stats are now in PDF:-
http://www.busterboy.org/codeproject/
Feel free to make your comments.
Updated - May 04th, Saturday
|
|
|
|