all groups > sql server notification services > june 2005 >
You're in the

sql server notification services

group:

.NET Framework 2.0 question



.NET Framework 2.0 question Peter
6/22/2005 7:42:25 PM
sql server notification services: Notification Services on SQL 2005 utilizes .NET Framework version 2.0.
(correct?)

If so, will there be a version of
microsoft.sqlserver.notificationservices.dll for SQL 2005 NS that will
allow me to create subscription management applications using VS 2003
and .NET Framework 1.1? Or must I use VS 2005 and .NET Framework 2.0?

Thanks,
Peter
Re: .NET Framework 2.0 question Joe Webb
6/23/2005 7:50:31 AM
Hi Peter -

SQL Server 2005 does come with v2.0 of the .NET framework, but I
cannot speak as to whether Notification Services uses it or a prior
version.

I'm setting up a test vpc for the exact scenario you mentioned. I
expect it to work.

Here is an excerpt from BOL (April CTP) that doesn't directly address
your question, but still may be applicable.

<excerpt>
Notification Services could not create an instance of the event
provider. This error can occur if a custom event provider was not
built using version 1.0.3705 of the .NET Framework. When Notification
Services and a custom component use different versions of the .NET
Framework, differences in the class libraries can cause application
errors.

UserAction
When possible, build custom components with version 1.0.3705 of the
..NET Framework. If you must build custom components with version
1.1.4322 of the .NET Framework, you can force Notification Services to
use the same version. To do this, add a <startup> node to the
NSService.exe.config file, which is in the vN.N.N.N\Bin folder of
Notification Services. The following example shows the <startup> node:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>
<supportedRuntime version="v1.0.3705"/>
</startup>
...

The <supportedRuntime> elements restrict the versions of the .NET
Framework that Notification Services can use. The order of the listed
versions determines the order in which Notification Services attempts
to load the .NET Framework versions. In the example above,
Notification Services will first attempt to load version 1.1.4322 of
the .NET Framework. If it is not available, Notification Services will
attempt to load version 1.0.3705 of the .NET Framework.
You must restart the instance of Notification Services to apply
changes made to NSService.exe.config.

</excerpt>


Of course you can still use COM Interop, but who would want to do
that? :)

HTH...

--
Joe Webb
SQL Server MVP


~~~
Get up to speed quickly with SQLNS
http://www.amazon.com/exec/obidos/tg/detail/-/0972688811

I support PASS, the Professional Association for SQL Server.
(www.sqlpass.org)



[quoted text, click to view]



--
Joe Webb
SQL Server MVP


~~~
Get up to speed quickly with SQLNS
http://www.amazon.com/exec/obidos/tg/detail/-/0972688811

Re: .NET Framework 2.0 question Shyam Pather [MSFT]
6/23/2005 9:49:07 AM
Peter,
I replied to this over at the forum:

http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=21960

Thanks
-shyam

--
Learn more about SQL-NS:
http://www.amazon.com/exec/obidos/tg/detail/-/0672326647/
---------------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
---------------------------------------------
[quoted text, click to view]

Re: .NET Framework 2.0 question Joe Webb
6/23/2005 12:12:22 PM
So, are BOL docs in the April CTP wrong in this respect? (I haven't
checked the June CTP yet.)

--
Joe Webb
SQL Server MVP


~~~
Get up to speed quickly with SQLNS
http://www.amazon.com/exec/obidos/tg/detail/-/0972688811

I support PASS, the Professional Association for SQL Server.
(www.sqlpass.org)


On Thu, 23 Jun 2005 09:49:07 -0700, "Shyam Pather [MSFT]"
[quoted text, click to view]
Re: .NET Framework 2.0 question Adam Machanic
6/23/2005 2:02:51 PM
[quoted text, click to view]


Perfect example of what I was talking about in the "New forum for
Notification Services discussions" thread.


--
Adam Machanic
SQL Server MVP
http://www.datamanipulation.net
--

Re: .NET Framework 2.0 question Aaron Bertrand [SQL Server MVP]
6/23/2005 2:15:57 PM
[quoted text, click to view]

Since Microsoft has decided to completely segregate the newsgroup forum from
the web-based forum, maybe you could repeat the post here instead of sending
the user all over the place?

Re: .NET Framework 2.0 question Shyam Pather [MSFT]
6/24/2005 3:32:24 PM
I understand the frustration with the separation of the forums from the
newsgroups.

In this case, I was simply trying to avoid the situation where different
people respond to the thread in two different places (some responses here,
some in the forum). I responded to the question in the first place I saw it
(the forum) and then when I saw it repeated here, I figured it'd be best to
point people to the existing thread, rather than repeat it.

Please understand that the creation of the forums was an attempt to improve
our efficiency at getting questions answered. The forum has features that
let moderators track what questions haven't been answered, notify the
technical experts that they have questions they need to respond to, and
allow the posters to identify an answer as having solved the problems
they're experiencing. There's also a nice cross-forum search facility. I
understand it's not perfect and that some of the newsreader functionality is
missing. This was actually an attempt to improve user satisfaction with our
ability to provide help and support. Perhaps a failed attempt, but I'll take
the feedback to the forum people and see what results.
--
Learn more about SQL-NS:
http://www.amazon.com/exec/obidos/tg/detail/-/0672326647/
---------------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
---------------------------------------------
[quoted text, click to view]


AddThis Social Bookmark Button