Converting classic to .NET 2 code, and .NET gets an error back from ADS?
For future-proofing, our Internal Phone Directory is being moved onto our AD servers, and obviously we're using LDAP for queries.To get the phoneboook queries working, I adapted the current classic ASP code to use LDAP, and that works fine. However, we're wanting to move these pages to .NET, and that's where the problem comes in. Using the same basic logic from the Classic code (90% of its unchanged) to produce an LDAP query, I get the error 155 Unknown error (0x80005000)This is using the same website, and so the same credentials - unless aspx pages run und...
.net 3.5 convert to .net 2?
how can i convert in Web Developer 2008 .net framework 3.5 to .net 2 ? KAHREDEN HAREKET ENGELLENNEMEZ
Hi,If you have not used any .NET 3.5 controls, you simply need to remove all references to .NET 3.5 within the web.config. I hope this helps, if it answers your question, don't forget to mark it as such for those who come afterwards.Regards,Gareth ChidgeyManaging DirectorPushInternet Ltd
ok.how can i create new web site in web developer 2008 at .net framework 2 . KAHREDEN HAREKET ENGELLENNEMEZ
try this http://we...
Why Visual Studio 2005 ask me to convert a solution already got converted Somebody did the conversion of a solution from .net 1.1 to .net 2.0 by using the automatic conversion wizard of Visual Stu
Why Visual Studio 2005 ask me to convert a solution already got converted
Somebody did the conversion of a solution from .net 1.1 to .net 2.0 by using the automatic conversion wizard of Visual Studio 2005. Then, he changed to another company.
Now, I take over his job. Unfortunately, when I attempted to open that solution, Visual Studio 2005 prompted me the conversion wizard again to forced me to perform a conversion on the solution. Does someone know why?--Harish Patel www.MicrosoftSQLandASP.netpatelharish@gmail.com
Hi,
How many projects are in the solution, does it have UNLOADE...
Is it possible to convert .do net 2 back to .net 1?
I have this application that runs fine on my pc, in which I run VS.Net 2005. When installed on a server with .Net Beta 2 a run time error referring to the line
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">in the web config file comes up. The server does not recognise that line of code, it seems to be still using .NET 1.Any ideas on how to fix that problem without installing VS.NET 2005 on the server?ThanksRaquel
Install the .NET 2 beta 2 runtime on the server (if you can), then go
into IIS Manager and you should have a ASP.NET tab,
w...
Differences between .net 1, .net 1.1, .net 2.0 and .net 3.0 #2
Hi, This seems to be a common question, but i havent got an answer yet:(Can, any one please explain me the differences between these versions.If you keep your feet firmly on the ground, you'll have trouble putting on your pants!
There are too many differences for one email - - from 1.0 to 1.1 (not a whole lot of real change, other than fixes, at least compared to 1.1 to 2.0)
With 2.0, there were many new declarative controls, with many new ideas added in
With 3.0, it's a superset of 2.0 - instead of replacing the installation completely, it just 'added on' new functionality - I would...
CrystalReportViewer problem after converting from .NET 1.1 to .NET 2.0
After converting my web aaplication project from .NET 1.1 to .NET 2.0, I am getting the following error when trying to run reports (and even in the VS 2005 designer):The base class includes the field 'crvBCSOnHandReport', but its type (CrystalDecisions.Web.CrystalReportViewer) is not compatible with the type of control (CrystalDecisions.Web.CrystalReportViewer)Has anybody else had this problem after converting?Thanks,Sacha...
Convert VB.Net to C# with C-Sharpener For VB 2.2
C-Sharpener For VB automatically converts VB.Net projects to C# projects through a Visual Studio Add-in. It has a simple to use Wizard interface and typically converts 99%+ of the VB.Net code. You can download a free trial version.We have just released version 2.2 which increases the trial size limit from 500 to 1000 lines of code. We have also improved handling of manifest files, long project paths, Visual Studio 2005 installation, and more.You can find out more athttp://www.elegancetech.com/csvb.aspxRoger JackPresidentElegance Technologies, Inc....
Getting error while converting string to double: Input string was not in correct format
Select Case LocalMeasuringUnitText
Case "Currency"
'do the conversion hereDim ConversionRate As Double = GetConversionRate(_LanguageID)
Dim UKValue As Double
'String.Format("{0:c}", SelectedRow(rowloop).Item("TransData").ToString())
Dim varValue As Object = NothingDim Stringvalue As Object = SelectedRow(rowloop).Item("TransData").ToString.Trim
'varValue = Double.TryParse(Stringvalue, varValue)
'CType(Stringvalue, System.Double)
'UKValue = Convert.ToDouble(Stringvalue) / GetConversionRate(ConfigurationManager.AppS...
Why do i loose all styles when i convert form .net 2.0 to .net 3.5 ?
Hi
i converted my application form vs05 (.net2.0 ) to vs08 (.net3.5) and my styles and colors have all gone . for example i hada colors on my page and all of a sudden when i view the page in vs08 the colors arent there . But the .css file is stil part of my solution and when i look at the markup the control still references the class in the css. its as if it's ignoring that class . (is the markup language style overriding the css class)
any ideas as to why this may be happening ?
thanks
robby
Hard to say without seeng how are you applying the stylesheet. Can you post markup here?T...
Getting started #2I've purchased "Learning Perl" to finally give picking up perl a fair
shot. However in the beginning of the book it suggest that I should have
an understanding of basic programming concepts such as variables, loops,
subroutines, and arrays... Well, I don't. I was hoping that this book
would somewhat cover it all. I have some experience with bash, not much..
More less copying/pasting scripts and perhaps a slight edit here and
there. Nothing that has reveled itself as one of the above functions.
So, can anyone recommend a good document/book/link to get the basics...
used a c#.net to vb.net converter and am now getting a syntax error.
ok I used a cool utility at http://www.kamalpatel.net/ConvertCSharp2VB.aspx to convert some c#.net to vb.net and it spit out a bunch of code which almost works but I am getting a syntax error on this line
Imports (StreamReader sr =
Shadows Function)() As StreamReader(objResponse.GetResponseStream())
I tried it that way and also like
Imports (StreamReader sr = Shadows Function)() As StreamReader(objResponse.GetResponseStream())
but either way gave the same error
Compiler Error Message: BC30035: Syntax error.
Source Error:
Line 26:
Line ...
getting started #2Name: Dave Johnson
Email: johnsonatfuntechdotcom
Product: Minefield
Summary: getting started
Comments:
Just installing for the 1st time
Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20070122 Minefield/3.0a2pre
...
Get 2 Strings
Hello,I have a string which has the following format (I give 2 examples):"FirstWord468x60SecondWord""FirstWord5x172SecondWord"I need to get the numbers 468 and 60, or 5 and 172 into strings FirstNumber and SecondNumber.How can I do this?Can I use a Regex?Thanks,Miguel
You could use regex, by using the regex \d+x\d+.Brian"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
using regex to determine if the string match the format, yeah that's d...
Get String #2
Hello,I am defining the following:Dim Names As String()Consider the following:A = {a, T}B = {b, T}C = {c}Every time I create Names string() I will define it as a value and T or just a value.Basically, I need to get the value a, b or c to a string Name.For example: for A: Name = a for C: Name = cHow can I do this?Thanks,Miguel
I think you need to re-word that in a practical real life scenario instead of using letters. It doesn't make any sense.Josh Stodola ← Come check out my blog!
:-)Ok, given a String Array with 1 or 2 elements how can I get the one which va...