473,378 Members | 1,317 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

HELP! ResponseSoapContext.Current = <undefined value>

Why isn't the ASP.NET runtime providing a valid reference for this object to
my WebService? I'm trying to use WSE and DIME to send attachments via Web
Service. I've provided a whole lot of information in the thread below:

DIME: Attachments.Add - Object reference not set to an instance of an
object.

Bu when all is said and done, the crux of the problem is that
ResponseSoapContext.Current = <undefined value> when I attempt to access it.
What am I missing?

Thanks!

- Joe Geretz -
Nov 23 '05 #1
1 2217
I'm having the exact same problem as described here:

http://www.msnewsgroups.net/group/mi...topic4173.aspx

Anyone ever see a solution to this?

BTW, I created a brand new WebService project and added in the reference to
WSE. This time I didn't even modify the Web.Config file myself, when I
looked I was pleasantly surprised to see that all entries were added
automatically for me. But still, the same problem:
ResponseSoapContext.Current = <undefined value> when I attempt to access it.

Here's my Web.Config file:

Thanks for any assistance which you can provide!

- Joe Geretz -

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="microsoft.web.services2"
type="Microsoft.Web.Services2.Configuration.WebSer vicesConfiguration,
Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" />
</configSections>
<system.web>
<compilation defaultLanguage="c#" debug="true" />
<customErrors mode="RemoteOnly" />
<authentication mode="Windows" />
<authorization>
<allow users="*" />
</authorization>
<trace enabled="false" requestLimit="10" pageOutput="false"
traceMode="SortByTime" localOnly="true" />
<sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data
source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
<webServices>
<soapExtensionTypes>
<add type="Microsoft.Web.Services2.WebServicesExtension ,
Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" priority="1" group="0" />
</soapExtensionTypes>
</webServices>
</system.web>
<microsoft.web.services2>
<diagnostics />
</microsoft.web.services2>
</configuration>

"Joseph Geretz" <jg*****@nospam.com> wrote in message
news:OR*************@TK2MSFTNGP15.phx.gbl...
Why isn't the ASP.NET runtime providing a valid reference for this object
to my WebService? I'm trying to use WSE and DIME to send attachments via
Web Service. I've provided a whole lot of information in the thread below:

DIME: Attachments.Add - Object reference not set to an instance of an
object.

Bu when all is said and done, the crux of the problem is that
ResponseSoapContext.Current = <undefined value> when I attempt to access
it. What am I missing?

Thanks!

- Joe Geretz -

Nov 23 '05 #2

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

Similar topics

1
by: scott | last post by:
I'm trying to get my double quotes correct in LISTING 1. Can someone correct the quotes surrounding the sURL variable. Also, I'd appreciate it all of the quotes were double quotes instead of single...
8
by: James | last post by:
I'm just beginning my PHP studies and one of the first tutorials gives different results. The user is prompted for a Name, and PHP is to say "Welcome <name>!" on another page. On my hosted server...
4
by: Andrzej Wegrzyn | last post by:
Hi, I had a portal that worked before, and over 5 months period JavaScript errors started to show up on all forms where I have datagrids. Using: IE 6.0, WIN XP, IIS 5.1, Framework 1.1 ...
8
by: akira2x3x | last post by:
Hello, I get this error while compiling with visualc++ and STL roguewave. With STL microsoft everything work fine. XXXData.cpp f:\xxxxx\product\rw\rcb1.2.0\rm\include\rw\_pair.h(63) : error...
13
by: Jim in Arizona | last post by:
I made a page with a gridview that has rows show a different color if a number in a column is greater than or equal to 45. I also did this conditional formatting for the column next to it. Here's...
5
by: SP | last post by:
I am writing a function to read data into a structure, but I seem to be messing up the character string in the fopen() call. When the program runs it does not open the file and fopen() returns a...
1
by: Q | last post by:
Question: For our GPS application I need to convert the minutes part (heximal value) to a decimal/floating point value. So: 41609218 (4 bytes) has to be converted to: 14.034 (approx) ...
8
by: wastedhello | last post by:
ok. here are a list of things i cant fix. ive been trying for way to long now. 1. if more then 1000 values are told, will still continue with program. 2. if -max, min, average etc run, and 2...
3
by: ABeginner | last post by:
I want to give validation rule for a column - I want one field value must be greater than another field value . both column's are in same table can anybody help me???
3
by: blackrunner | last post by:
ERROR in my Query?! ERROR: Element GESCHLECHT is undefined in FORM. i think everything ok. Maby somebody can help me here Element GESCHLECHT is undefined in FORM. The error occurred...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.