Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Problem displaying .NET assembly on web page (Space in URL)

Reply
 
Old 04-16-2008   #1 (permalink)
Turbot


 
 

Problem displaying .NET assembly on web page (Space in URL)

Hello there,

I have a .net user control that I am displaying on a web page using
the following syntax for my object tag:

<object id='objLauncher' name='objLauncher' Style='width:600px; height:
350px;' classid='MyThing.dll#TutorPro.MyThing'></object>

Now, under normal circumstances, this works perfectly fine. The
problem occurs if there is a space in the URL to the page using the
object tag. Event though my dll is in the same folder as the page with
the object tag, if there is a space anywhere in the URL, it simply
does not display.

I have tried using %20 instead of the space in the address bar of IE
but it still does not work. If I get rid of the space, in the actual
folder name, everything works fine.

For example, this works: "http://localhost/mytest/test1/
launchcontrol.htm" but this does not work "http://localhost/my test/
test1/launchcontrol.htm" and neither does this "http://localhost/my
%20test/test1/launchcontrol.htm".

If anyone can shed any light on this problem, it would be much
appreciated.

Thanks in advance.

IAN KEVAN

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Dynamic load of assembly problem PowerShell
Problem loading an assembly referencing a non-.NET dll PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46