Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Out of memory on loStringBuilder.ToString()
Message
From
06/06/2011 16:09:08
 
 
To
06/06/2011 16:05:14
General information
Forum:
ASP.NET
Category:
Troubleshooting
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01513090
Message ID:
01513191
Views:
37
Is the exception occurring at loStringBuilder.ToString() or is it occuring somewhere in the CreateFileEncoding() method when the method attempts to do something with the string?

~~Bonnie




>>What's the exact code you're using to take that stringbuilder and put that string into a file?
>
>
>            ' Save in a Xml file
>            If Not oApp.CreateFileEncoding(loStringBuilder.ToString(), cFile, System.Text.Encoding.Unicode) Then
>                cMessage = oApp.StrTran(cCannotCreateFile, "##File##", cFile)
>                Return False
>            End If
>
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform