473,728 Members | 1,437 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP -- Server.CreateOb ject("MSWC.Next Link" problem on Vista with IIS 7

Hi All:

I just setup a new machine with Vista Business Edition and IIS 7.
I had to turn on IIS 7 attributes including the IIS Manager. Not sure what
options I needed I turn them all on that even remotely look like I might
need them.

The IIS Manager looks total foreign to me but eventually I figure how to add
a virtual folder. I then started making script files in html, javascript and
vbscript. I would run them through IIS 7 using the URL:
http://localhost/../filename. This all worked fine and I was able to try
most of the code that I had used on IIS 6 under XP.

I then start adding ASP server-side calls to the script. I tried several
objects: Request, Response..etc. and they worked fine. The problem started
when I started using the Server object.

In particular when I added the line:

objCLC = Server.CreateOb ject("MSWC.Next Link")

When I add this line the Web Browser indicates that there is server problem.
I believe that these calls are from an activex object so is it possible that
somewhere in the IIS 7 configuration I haven't allow permission for activex
objects?

Any help will be greatly appreciated

Jul 16 '07 #1
12 7476
make sure Nextlink.dll is installed on the machine


Jul 16 '07 #2
Hi Jon:

I did check for it in the system32 folder and it was not their. Is there
somewhere else I should look?
Also, if it is not there what do I do to get installed. I have Vista
Business Edition and in the install/open section under the Control Panel I
checked all the options including "ASP.NET", shouldn't that install it ?

"Jon Paal [MSMD]" <Jon nospam Paal @ everywhere dot comwrote in message
news:13******** *****@corp.supe rnews.com...
make sure Nextlink.dll is installed on the machine


Jul 16 '07 #3
John wrote on Mon, 16 Jul 2007 10:17:30 -0400:
Hi All:

I just setup a new machine with Vista Business Edition and IIS 7.
I had to turn on IIS 7 attributes including the IIS Manager. Not sure what
options I needed I turn them all on that even remotely look like I might
need them.

The IIS Manager looks total foreign to me but eventually I figure how to
add a virtual folder. I then started making script files in html,
javascript and vbscript. I would run them through IIS 7 using the URL:
http://localhost/../filename. This all worked fine and I was able to try
most of the code that I had used on IIS 6 under XP.

I then start adding ASP server-side calls to the script. I tried several
objects: Request, Response..etc. and they worked fine. The problem started
when I started using the Server object.

In particular when I added the line:

objCLC = Server.CreateOb ject("MSWC.Next Link")

When I add this line the Web Browser indicates that there is server
problem. I believe that these calls are from an activex object so is it
possible that somewhere in the IIS 7 configuration I haven't allow
permission for activex objects?

Any help will be greatly appreciated
The MSWC components were part of the old IIS Resource Kit installation, they
are not shipped with IIS. They were also part of PWS. Unless you can find
the old installation for IIS4 you won't be able to get this running on your
IIS7 setup, and even if you do find the old installation files there's no
guarantee that they'll work.

Dan
Jul 17 '07 #4
these folks may be able to help with iis7 and classic asp questions

http://forums.iis.net/1044.aspx
Jul 17 '07 #5
Hi Dan:

Thanks for your help. So what you are saying IIS 7.0 doesn't fully support
ASP and that there is some other mechanism for creating objects! Is this
also true that you can not create any objects with server.createob ject or is
next link the only case?

I did look on my XP machine which I believe has IIS5 and the nextlink dll is
there. As far I know I didn't install a IIS SDK to make this happen. It is
possible that I have put a VS SDK on this machine at some time. Maybe there
is IIS7 SDK ?
"Daniel Crichton" <ms****@worldof spack.comwrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
John wrote on Mon, 16 Jul 2007 10:17:30 -0400:
Hi All:

I just setup a new machine with Vista Business Edition and IIS 7.
I had to turn on IIS 7 attributes including the IIS Manager. Not sure
what
options I needed I turn them all on that even remotely look like I might
need them.

The IIS Manager looks total foreign to me but eventually I figure how to
add a virtual folder. I then started making script files in html,
javascript and vbscript. I would run them through IIS 7 using the URL:
http://localhost/../filename. This all worked fine and I was able to
try
most of the code that I had used on IIS 6 under XP.

I then start adding ASP server-side calls to the script. I tried several
objects: Request, Response..etc. and they worked fine. The problem
started
when I started using the Server object.

In particular when I added the line:

objCLC = Server.CreateOb ject("MSWC.Next Link")

When I add this line the Web Browser indicates that there is server
problem. I believe that these calls are from an activex object so is it
possible that somewhere in the IIS 7 configuration I haven't allow
permission for activex objects?

Any help will be greatly appreciated

The MSWC components were part of the old IIS Resource Kit installation,
they
are not shipped with IIS. They were also part of PWS. Unless you can find
the old installation for IIS4 you won't be able to get this running on
your
IIS7 setup, and even if you do find the old installation files there's no
guarantee that they'll work.

Dan


Jul 17 '07 #6
John Connic wrote:
Hi Dan:

Thanks for your help. So what you are saying IIS 7.0 doesn't fully
support ASP

No, what he is saying is it might not support "stuff" that was included
after-the-fact, such as the MSWC components. I've been developing with
ASP for years and i've never used these things.

And given the new ASP.Net world, you are unlikely to get much sympathy
for the failure to support deprecated components.
and that there is some other mechanism for creating
objects!
Huh? How did you come to that interpretation?
Is this also true that you can not create any objects with
server.createob ject or is next link the only case?
Read what he said closely: NextLink _might_ be _one of_ the relevant
cases. The only way to find out is to make sure it is properly
installed.
Server.CreateOb ject works fine for properly installed, supported, dlls
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 17 '07 #7
John wrote on Tue, 17 Jul 2007 08:45:58 -0400:
Hi Dan:

Thanks for your help. So what you are saying IIS 7.0 doesn't fully support
ASP and that there is some other mechanism for creating objects! Is this
also true that you can not create any objects with server.createob ject or
is next link the only case?
IIS7 doesn't ship with the MSWC components. I use ASP and
Server.CreateOb ject without problems on IIS7 and IIS6 - but I know that I
don't have the MSWC components, so I know that calls to those won't work.
IIS fully supports ASP - but it doesn't let you instantiate components if
they're not installed!
I did look on my XP machine which I believe has IIS5 and the nextlink dll
is there. As far I know I didn't install a IIS SDK to make this happen. It
is possible that I have put a VS SDK on this machine at some time. Maybe
there is IIS7 SDK ?
Are you sure you didn't install the components from elsewhere on that other
machine? I have XP on my PC right here and there is no nextlink.dll, and I
do have IIS5 installed. I haven't installed the SDK, or the Resource Kit
tools.

Dan
Jul 17 '07 #8

"Daniel Crichton" <ms****@worldof spack.comwrote in message
news:Oe******** ******@TK2MSFTN GP02.phx.gbl...
John wrote on Tue, 17 Jul 2007 08:45:58 -0400:
>Hi Dan:

Thanks for your help. So what you are saying IIS 7.0 doesn't fully
support
ASP and that there is some other mechanism for creating objects! Is this
also true that you can not create any objects with server.createob ject or
is next link the only case?

IIS7 doesn't ship with the MSWC components. I use ASP and
Server.CreateOb ject without problems on IIS7 and IIS6 - but I know that I
don't have the MSWC components, so I know that calls to those won't work.
IIS fully supports ASP - but it doesn't let you instantiate components if
they're not installed!
>I did look on my XP machine which I believe has IIS5 and the nextlink dll
is there. As far I know I didn't install a IIS SDK to make this happen.
It
is possible that I have put a VS SDK on this machine at some time. Maybe
there is IIS7 SDK ?

Are you sure you didn't install the components from elsewhere on that
other machine? I have XP on my PC right here and there is no nextlink.dll,
and I do have IIS5 installed. I haven't installed the SDK, or the Resource
Kit tools.
Mine appears in C:\Windows\syst em32\inetsrv on XP Pro with IIS 5.1. I
didn't knowingly install the SDK, unless it goes in as part of the full
install for IIS.

--
Mike Brind
Jul 17 '07 #9

"John Connic" <jo*********@ng c.comwrote in message
news:%2******** ********@TK2MSF TNGP03.phx.gbl. ..
>
Now to issue at hand, do you or one of your Microsoft cronies know where I
can get this nextlink.dll that is causing the problem. Now from what Dan
told me the server.createob ject(..) construct appears to work OK but not
with "MSWC.NextLink" .
You can google 'nextlink.dll', and plenty of sites offer downloads:
http://www.dllbank.com/n/nextlink.dll-download.html, for example. Or you
can find an older machine that has it and copy it from there, registering it
on your new machine.

Server.CreateOb ject("...") will work for any installed and registered dll,
as Bob said.

MSWC was never "part of" ASP. It was a library of components that you could
use from ASP. That's why you have to use the built-in ASP Server object to
instantiate objects from the MSWC library.

--
Mike Brind
Jul 17 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
3026
by: Mark Rae | last post by:
Hi, On Friday I attended the Microsoft EVO conference in London where they talked about Vista, Office 2007 and Exchange 2007 and how they all work together beautifully, how they were all "people-ready" etc... I asked a couple of questions about Visual Studio.NET on Vista, especially on 64-bit Vista, and they became *very* nervous... To cut a long story short, Microsoft will not support ANY version of Visual
18
2703
by: =?Utf-8?B?Tm9ybUQ=?= | last post by:
I have created a three tier application consisting of Client (Exe and Exe.Config), Middle (WebServices) and Database tiers. The Client tier contains an Exe, an Exe.Config and a dynamic Web reference. The Exe reads a key-value pair from the Exe.Config file, which is a link to the appropriate WebService that it should connect to, and sets the dynamic Web reference’s URL. If the Exe.Config file does not contain the key-value or if the...
3
7421
by: ianforgroupuse | last post by:
I'm running Vista Business edition on 2005 Virtual PC. Installed SQL Server 2005 Express latest download, with instance of MSSQLSERVER and service accounts running under "NT AUTHORITY\SYSTEM". Mixed mode authentication specified and sa password specified. Used server manager to create user login with sysadmin role. Login using windows authentication. Run my application and database is created and populated with default records.
3
7966
by: sgottenyc | last post by:
Hello, Has anyone had any success running SQL Server Express on Vista with Apache via PHP? My PHP works fine, Apache works fine, and SQL Server Express works fine in Management Studio, but I cannot connect via this call: $myServer = "servername"; $myUser = "username"; $myPass = "password"; $myDB = "myDB";
1
1180
by: =?Utf-8?B?TUsgSm9obg==?= | last post by:
Hi, I'm fairly new to Vista and was wondering if it is possible to administer a DNS server on Vista (if one is available) using .Net? I have used the System.Management namespace for DNS administration on Windows 2003 server, but can't find the DNS server anywhere on Vista, nor any related documentation. Any advice is greatly appreciated,
2
2084
by: gamiravi.d | last post by:
Hi, I have one c++ application to get number of monitors from system. I am calling .exe of c++ application using java api through tomcat server in browser on window vista. right now I have two monitors attached in the system.one primary and other secondary. but when i call c++ application using java api through tomcat server, it lists only one primary monitor. i have some scenario for behavoiur of such application:
0
870
by: Michel Vanderbeke | last post by:
Hello, Are Visual Studio 2005, Visual Studio 2008, SQL Server 2005 and SQL Server 2008 working fine on Windows Vista x64 or are there special versions of that software to run under Windows Vista x64? Many thanks and greetings from Brugge (Bruges - Belgium), Michel
9
3532
by: star-italia | last post by:
Hi, I have a big problem: I am developing a WPF application on Windows Vista SP1 Based on the .NET Framework 3.5 and WPF. In my application I use a WIndowsFormsHost to (of course) host a WebBrowser. Everything is ok, but if i try to load an SVG into the WebBrowser the application crashes with the following message: --------------------------------------------------------------------------- An exception of type...
4
1956
by: Hrsoft | last post by:
Dear Friends My developer environmment has a Windows 2000 SP4 Server, and I can´t to update to 2003 or 2008, for reasons of... money. But, I need to install in this 2000 Server SP4 the ASP.NET framework. How versions can I install? Can I install ASP.NET 2.0? And ASP.NET 3.5? This is the desired framework
0
3137
by: IT Couple | last post by:
Hi 1) Question one I'm installing SQL Server 2008 Enterprise Edition on Windowds XP (remotely) and in the 'readme' file it tells me to install SP1 first and then SQL Server 2008 but when I try to download the SP1 http://www.microsoft.com/downloads/details.aspx?FamilyID=66ab3dbb-bf3e-4f46-9559-ccc6a4f9dc19&displaylang=en it says Supported Operating Systems: Windows 7; Windows Server 2003; Windows Server 2008; Windows Vista Doesn't...
0
8897
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8756
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9416
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9270
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6711
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4524
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4787
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3232
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2159
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.