Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

text in .vb file is getting compressed

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Related Topics:
reading text file - Hi There I have written sample to code to read log file which is similar to text file. It displays all the lines of log file without any problem. But is it possible if I want to display last 5 lines of that log file or text file?? Thanx in..

xml in plain text file on heavy load. - I have a question IIS and xml on heavy load. I'm starting up a new project where we would like to store some of the data (3k) just in an XML-file because of the We cannot store this data it in a dbase because the structure of..

IIS 6.0 SMTP not sending EOM using Pickup Directory/Text F.. - This started about 24 hours ago. I have confirmed this with my upstream SMTP and in the LogFile An SMTP is target box and data transfer begins. However it looks..

Blank compressed pages when the page is not - I am getting blank pages when the page is not, I have a 4 windows 2003 servers farm, it happens only in two of them. Also some times they merge the content of the pages (i.e. the default page get the content of other) I don“t have other..

PDF decompression on client from IIS compressed source - Hi all. From checking around on the net and from viewing some 3rd party HTTP for IIS I have noticed that there appears that there is a problem with PDF's on IE browsers. (maybe others but I haven't checked) Has..
Next:  IIS: Hostheader Problem  
Author Message
robertsmith

External


Since: Oct 24, 2004
Posts: 4



(Msg. 1) Posted: Mon Mar 21, 2005 1:25 pm
Post subject: text in .vb file is getting compressed
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hello,
Each time I save my code behind file the text gets compressed and all
white space is removed and lines become joined together and thus it doesn't
work properly. the file looks like the code below

If I try to re-format it goes back to how it was before when I save. Any
ideas how I get it it to stop doing this. I'm using vb.net studio beta 2 on
win 2000.

Regards
Robert


Sub Page_Load(Src As Object, e As EventArgs) Dim myConnection As
SqlConnection
Dim myCommand As SqlDataAdapter ' Create a connection to the '"pubs" SQL
database located on the ' local computer. myConnection = new
SqlConnection("server=localhost;uid=sa;pwd=;" _ & "database=pubs") ' Connect
to
the SQL database using a SQL SELECT query to get all the data from the
'"Authors" table. myCommand = new SqlDataAdapter("SELECT * FROM Authors", _
myConnection) ' Create and fill a DataSet. Dim ds As DataSet = new DataSet()

 >> Stay informed about: text in .vb file is getting compressed 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 2) Posted: Mon Mar 21, 2005 8:26 pm
Post subject: Re: text in .vb file is getting compressed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

IIS has no such functionality by default.

It sounds like you are running some additional software on the server which
does this, so unfortunately you will have to figure out what software you've
installed that does this, which one to reconfigure, and how to do it
correctly.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Robert Smith" <RobertSmith.TakeThisOut@discussions.microsoft.com> wrote in message
news:FF334391-D798-415A-936C-B3D4E3463C6D@microsoft.com...
Hello,
Each time I save my code behind file the text gets compressed and all
white space is removed and lines become joined together and thus it doesn't
work properly. the file looks like the code below

If I try to re-format it goes back to how it was before when I save. Any
ideas how I get it it to stop doing this. I'm using vb.net studio beta 2 on
win 2000.

Regards
Robert


Sub Page_Load(Src As Object, e As EventArgs) Dim myConnection As
SqlConnection
Dim myCommand As SqlDataAdapter ' Create a connection to the '"pubs" SQL
database located on the ' local computer. myConnection = new
SqlConnection("server=localhost;uid=sa;pwd=;" _ & "database=pubs") ' Connect
to
the SQL database using a SQL SELECT query to get all the data from the
'"Authors" table. myCommand = new SqlDataAdapter("SELECT * FROM Authors", _
myConnection) ' Create and fill a DataSet. Dim ds As DataSet = new DataSet()

 >> Stay informed about: text in .vb file is getting compressed 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]