all groups > dotnet general > january 2008 > threads for january 22 - 28, 2008
Filter by week: 1 2 3 4 5
I want to run my asp.net application from server.I
Posted by Chetana at 1/28/2008 10:41:03 PM
Hi,
I want to run my asp.net application from server.I have uploaded my
asp.net files on the server and I want to run it ditectly from server
but I am getting authentication error as
'An application error occurred on the server. The current custom error
settings for this application prevent... more >>
System.IO.Stream writing binary to users browser
Posted by mazdotnet at 1/28/2008 5:50:40 PM
Hi all,
I'm trying to integrate a third party library that would parse an
excel file and allows us to make changes to. Once I update the
appropriate cells, I want to allow my users to download the modified
file.
It works by
IWorkbook book =
NativeExcel.Factory.OpenWorkbook(this.MapPath(Fi... more >>
asp:Login question
Posted by ChiWhiteSox at 1/28/2008 4:31:01 PM
Hi
created a web app using the asp:Login component in machine A. SQL and VS2005
is also in machine A. I copied the entire project source to machine B and
modified
the machine B's web.config into
<connectionStrings>
<remove name="LocalSqlServer"/>
<add name="SQLConn" connectionStrin... more >>
Deploy problem: error reading from ...xxxxx.msi file
Posted by ykffc at 1/28/2008 4:21:01 PM
I try to experiment deploying my Vb.net application by following the basic
steps but encounter this error.
I follow every step and every display agrees with what the tutorial says
and the IDE responds with "Build successful". When I started the setup.exe
file in the debug folder with the sam... more >>
Visual Studio RunAs
Posted by moondaddy at 1/28/2008 10:30:48 AM
A few days ago I used the RunAs command for the first time to launch VS
under a different profile which had different security settings. Since then
I'v rebooted the machine several times and started VS several times assuming
I was starting VS as the same user I log into the machine with. How... more >>
Custom Action in deployment project
Posted by Jacek at 1/28/2008 6:04:00 AM
Could You tell me, whether VS2005 allows passing parameters to custom actions
as it was possible in VS2003 by creating a form in custom installed and
doing it through Dynamic properties/key mappings. When I try the same all
properties are disabled.
Thanks for answer in advance... more >>
Printing to a network printer from windows 2003 server fails...
Posted by Sai Vajja at 1/28/2008 5:51:01 AM
Hi
I have a problem printing to a network printer from my VB.NET code component.
When i try printing to the network printer from my development PC all works
fine..
But, when i publish the code to the server and try the print, i get the
following message....
Settings to access printer '\... more >>
VS 2008 - test driven?
Posted by roger.pearse@googlemail.com at 1/28/2008 2:23:49 AM
Hello,
Can anyone tell me whether VS 2008 has test-driven development
facilities in it? If so, in which versions?
Thanks,
Roger Pearse... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
CLR Profiler Question
Posted by Rohit at 1/28/2008 12:24:01 AM
I am using the CLR Profiler to investigate the memory efficiency of my .NET
applications; however, I am puzzled as to the memory allocation size that the
tool reports for my applications.
I am profiling 2 applications: (1) a simple app that has 1 button which when
pressed displays the strin... more >>
ArrayList to List<myType> and item disposal
Posted by info@devdept.com at 1/28/2008 12:23:29 AM
Hi All,
Suppose you need to release unmanaged resources when you remove an
item from a colletction.
We are now using an override of the ArrayList.Remove() method that
dows the job.
We wanted to move to generics but the List<T> collection does not
feature any virtual method.
How shou... more >>
Extension
Posted by cbasin at 1/27/2008 8:07:00 PM
When try to open thr help button in windows live it tells me to go to the
control panel mad open file options to set a extension to open the program.
an anyone tell me what the ext. should be and what it should be tied to
--
sureshot... more >>
Setup should remove existing version
Posted by Gudni G. Sigurdsson at 1/27/2008 2:12:01 AM
Hi.
I have written a .NET C# program and have also made a setup project for it.
Everything works fine, except that I would like my setup application to
remove any existing version of my program before proceeding with the setup.
This is because I get the following message if there is a previ... more >>
Screen Scraping Questions
Posted by Nick at 1/26/2008 7:33:01 PM
I need to write a VB.NET application for the network team at work that will
backup a firewall configuration each evening. I found that I may need screen
scraping to do this, but am not quite sure how to go about it as I have never
done it before.
The web login page is at https://firewall/a... more >>
microsoft baseline security analyzer 2.1
Posted by Vido at 1/26/2008 5:56:01 AM
I'm running WinXP SP2 and IE 7.0.5730.11
I ran MBSA 1.2 and I got a report that I needed to upgrade MBSA to version 2.0
I ran MBSA 2.0 and got this error message:
"Failed to download security databases. The catalog is damaged or an invalid
catalog."
I upgraded to MBSA 2.1 (beta) and go... more >>
Visual Studio 2005 installation
Posted by Tom Nowak at 1/25/2008 11:16:04 AM
I have a full version of Visual Basic 6 and upgrade versions of Visual Studio
2002, 2003, and 2005. What is the easiest way to do the install? I know in
the past, I have done Visual Basic 6, then the 2002 upgrade, then the 2003
upgrade, then the 2005 upgrade. Do I have to perform all of the... more >>
.NET windows service fails to start when digitally signed
Posted by Ralf at 1/25/2008 11:06:00 AM
Situation: .NET windows service
All works fine until we digitally signed the service exe. After that
starting the service often fails (A timeout was reached (30000 milliseconds)
while waiting for the ... service to connect.). I can reproduce this
behaviour with XP x64.
Looks like windows... more >>
Bring To Front
Posted by Derek Hart at 1/25/2008 9:52:28 AM
I was searching in Visual Studio for a property that determines if a control
is on top of another. Is this embedded in the Visual Studio code? Can I
control this?
... more >>
Sorting lists in .Net - why it sucks
Posted by nightwatch77 at 1/25/2008 5:38:18 AM
Today I stumbled upon a very interesting 'feature' of .net 2.0
My application uses a generic SortedList class for storing a sorted
list of objects (on a DateTime key) - that is, SortedList<DateTime,
object>. However, the program kept crashing for some time until I
debugged it to find out that it... more >>
Hindi Keyboard
Posted by Junior Programmer at 1/25/2008 4:28:59 AM
Hello Everyone,
In my application i need to develop a keyboard which type Hindi
characters.
As a control i make it. On clicking of this i can create code but how
can i type a hindi char in coding ?
Please help me.
Thanx... more >>
Building VC++.Net CF application in commandline
Posted by Nash at 1/25/2008 3:25:08 AM
Dear All,
I have an application writtern on VC++.net my question is how to
compile that application in command line.
I tried to compile it using msbuild <.vcproj> /configuration =
Release
it is compiling but my problem is how should i specify which sdk it
should use. Either pocketpc 2003... more >>
String length in bytes
Posted by guy at 1/25/2008 2:32:00 AM
Being lazy here...
How many bytes are used to store a string?
I would guess the (number of characters * 2) + 4
is that correct?
cheers
Guy... more >>
Cant Login on a sql2005 machine from VS2005 IDE debug mode
Posted by ChiWhiteSox at 1/24/2008 10:38:01 PM
Hi,
i got machine A that has sql2005, vs2005 project. project runs okay there.
But when i copied that whole project folder to machine B, running sql2005,
VS2005, edited the web.config file to point to SQL2k5 machine A, and then run
it at VS2005, it cant connect to the DB at machine A. It sa... more >>
WINDOWS EXCEL 2007
Posted by JERRY7777 at 1/24/2008 5:33:01 PM
i DO NOT KNOW HOW TO EMAIL MATERIAL FROM EXCEL 2007. Also do not know how to
print out material from same. PLease help-very important!!!
--
COMPUTER NOVICE... more >>
Properties vs. Fields
Posted by Mark Henry at 1/24/2008 3:47:29 PM
I've run into a strange problem that I'm having a difficult time
tracking down. I have no idea what's causing it, so this seemed as good
a place to ask as any...
If anyone is familiar with Neo (entity object framework), it deals with
that. Basically, I have two versions of the code.
ve... more >>
When a clr has the input type of SqlString it causes nvarchar(4000) to be the parameter type of the function in sql server. how to modify my CLR funct
Posted by DR at 1/24/2008 2:10:49 PM
When a clr has the input type of SqlString it causes nvarchar(4000) to be
the parameter type of the function in sql server. how to modify my CLR
function to use nvarchar(max) ?
... more >>
Locale Formatting: Phone Numbers
Posted by Blue Streak at 1/24/2008 1:00:07 PM
Hello, Folks!
Does anyone know of a website that lists the local phone number
formats for each country?
TIA...... more >>
Exception Handling Question
Posted by gz at 1/24/2008 12:18:07 PM
Suppose I have the below code:
FileStream fs1 = new FileStream(...);
FileStream fs2 = new FileStream(...);
try
{
fs1.Write(...)
fs2.Write(...)
}
finally
{
if(fs1!=null)
fs1.Dispose();
if(fs2!=null)
fs2.Dispose();
}
My question is what happens if... more >>
Dispose Pattern -- why void Dispose() is nonvirtual?
Posted by gz at 1/24/2008 11:19:45 AM
Hi,
Does anyone know the reason?
Thanks,
gz... more >>
Towards Learning Localization and Globalization
Posted by Jordan S. at 1/24/2008 7:56:54 AM
I am looking for good reference material (books, reference applications,
articles etc) that address localization and globalization in .NET...
satellite assemblies etc.
I'm designing a new ASP.NET application (in .NET 3.5) that will need to be
available to users in multiple cultures.
And ... more >>
Problem trapping exceptions raised from Tick event
Posted by dempa at 1/24/2008 7:47:17 AM
Greetings!
I have this System.Windows.Forms.Timer which I create on the fly from
an instance method (let's call it MyMethod). It has a handler for the
Tick event that throws an exception, something like this:
throw new Exception("Timeout in yadda yadda...");
I place the call to MyMethod i... more >>
Display
Posted by bobbie at 1/24/2008 6:37:01 AM
I must have hit a key on my kepyboard because now my monitor/display shows
sideways instead of looking head on. What keys do I hit to correct this
problem. I can read if I cock my head sideways.
--
bobbie... more >>
got problem with exportGridview Data into Excel format
Posted by Dhananjay at 1/24/2008 2:52:06 AM
Hi all ,
I have got problem when i am tring to exportGridview Data into Excel
format.
It is going into text format ,but what i want is if the field is
number/currency then it should go into number/currency format
itself .Data exported to excel are all exported as text.
Export to excel should... more >>
Whats wrong with this code?
Posted by Rob Eventine at 1/23/2008 8:33:09 PM
VS 2005 wont let me switch from source to design view bacause of the
following code
<hr align="center" width="40%" size="3" color="#3366FF"/>
it really does not like the color command.. can anyone tell me why and how
to correct it so my horizontal rules are nice and colourful..
th... more >>
Startup Error - Sorry for inconvenience... etc.
Posted by Lucy at 1/23/2008 7:46:19 PM
Get the black screen asking me which startup method I want to choose, ie.
safe mode, etc. Anything I choose loops back to the same screen. The error
message starts off by saying sorry for the inconvenience and that the system
did not shut down properly, it says the error might be a software ... more >>
Delayed UI Code
Posted by rorybecker@newsgroup.nospam at 1/23/2008 5:04:39 PM
I am using Studio 2008 with .Net 3.5. and my Brain is Fried :)
My user will use typical 'next' and 'previous' buttons to navigate records
in my app.
They will sometimes be in the habit of hittting the next button repeatedly
not giving the screen time to finish refreshing it's current recor... more >>
How do I write an add-in for IE?
Posted by jim at 1/23/2008 4:19:00 PM
I'm looking for sample code to help me learn how to write a toolbar add-in
for IE.
It can be VB6, VB.Net, C# ... heck, I may even try a little C++.
Whatever you've got....I want it.
Thanks!
jim
... more >>
Ongoing printer issues Spooler etc.
Posted by Bewildered at 1/23/2008 2:18:01 PM
Among other issues with my printer spooler. I received the follwoing message.
SPOOLSV.EXE Application error
The instruction at "0x73001347" referenced memory at "0x0074169a". The
memory can not be read.
Can someone advise?... more >>
Arrow keys quit working within Excel 2003
Posted by jfs at 1/23/2008 12:42:02 PM
In the last few weeks my arrow keys have quit working in Excel 2003 only. I
have changed batteries in both my mouse and keyboard with no results. Has
anyone else experienced this problem? The arrow keys still work in Word and
all of my other software programs... more >>
string not fully populated in sql
Posted by Michael de Vera at 1/23/2008 10:21:01 AM
To all,
I'm using the following to create a string of text and to insert into a
table/column:
strBuilder.append("User Full Name") ....this is inside a loop that may
increment 35 times. For 35 different names.
I then use the following code to insert the data into a table/column:
sql... more >>
Autoroute 2007 motorway junctions
Posted by craig at 1/23/2008 6:31:03 AM
I have upgraded from autoroute 2003 to autoroute 2007.
The 2003 version allows me to search for motorway exits/junctions but the
2007 version does not. Is there any update for this or any other way to
search for motorway exits/junctions?
--
Craig... more >>
Log on to Windows
Posted by RMI at 1/23/2008 4:24:01 AM
While attempting to setup file sharing between a wireless laptop and a
wireless desktop, I made a change to "mycomputer". I clicked the "computer
to part of a network". As a result, when I rebooted and got the ALT-CTL-DEL
screen and then the logon to Windows, my previous username and passwor... more >>
Passing enums across boundaries
Posted by guy at 1/23/2008 1:35:01 AM
VS2005
I have a solution containing (amongst others) a Business layer project and a
DataAccess layer project.
Within these two projects I have a Class DoStuff , the business layer
doStuff makes calls to the DataAccess layer DoStuff. some of these calls
involve passing an enum as a parame... more >>
32bit app turns into 64bit in Windows Service
Posted by Daniel at 1/23/2008 1:08:01 AM
Hi all,
I built an app with the "Platform target" of x86. Then I installed it as a
Windows Service. When it's running, I can see in the Task Manager that the
executable has "*32" following it, which I think means it's running in 32bit.
But after I changed the log on account of the service, ... more >>
global.asax issue
Posted by Tem at 1/23/2008 12:54:47 AM
I've been stuck on this error for days.
I use global.asax to do url rewrite. which works fine on one server but not
the other. they are both windows server 2003 R2 IIS6.
if I do
http://test.com/photo/123
which would rewrite to http://test.com/photo/default.aspx?photo=123
on the server tha... more >>
Click Once Issue
Posted by narendra at 1/22/2008 9:53:23 PM
Hello,
I'm trying to install two different versions of office dll's(2.2.0.0 &
12.0.0.0) using click once
I always get the error version doesnot match with reference in the
manifest
Can some one suggest me how to publsih two different versions of office
dll for a windows applicat... more >>
ServicePack2 for Windows Xp absolutely required for VS2008 applications?
Posted by Stefano at 1/22/2008 9:28:41 PM
Hi all,
I know that Sp2 of Windows Xp is a requisite in order to execute
applications written with VS2008 targeting .Net 2 Sp1 on Windows Xp (as
stated in the download page of .Net 2 Sp1).
Also on download page of .Net 2 (the first version, without Sp1), there is
Sp2 of Windows Xp as a requi... more >>
Team GFoundation/Team Explorer 2005 - Workspaces
Posted by Richard at 1/22/2008 6:08:05 PM
Hi,
I have a question about Team GFoundation/Team Explorer 2005 - Workspaces.
Under which group should it be posted?
Thanks in advance,
Richard... more >>
PC backup
Posted by Ronnie at 1/22/2008 5:48:14 PM
I am trying to backup my pc but I keep getting this error code
0x80070005,
I have tried to reuse the first disk that I ran pc backup on and it was
denied, I have tried to use two new dvd+rw's and I still get the same error
message.
I am running Windows Vista Home premium.
Any help would be a... more >>
VS2008 project upgrade upgraded my database?
Posted by musosdev at 1/22/2008 5:47:34 PM
Hi gang,
I've just opened one of my web projects (C#, .net 2.0) in VS2008 and ran the
conversion wizard.
Everything went ok, but the site won't work. My ConnectionString on all my
database connections is wrong. :(
I've just had a look, and notice that the Access MDB file the website us... more >>
|