User Profile

Collapse

Profile Sidebar

Collapse
gr8Ashish
gr8Ashish
Last Activity: Jan 25 '10, 07:42 AM
Joined: Nov 17 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ok can you tell me how to read the web.config file's configuration section from getsection method

    ?


    ? pls giv me example
    See more | Go to post
    Last edited by gr8Ashish; Jan 25 '10, 07:42 AM. Reason: edit

    Leave a comment:


  • Frinny
    this method-
    Code:
    Dim webStr As Configuration.Configuration=WebConfigurationManager.OpenWebConfiguration()
    give me error like this in windows application while try to read connection string in c:\inetpub\wwwr oot\site\web.co nfig- on windows server 2008

    Code:
    NullReferenceexception was caught
    object reference not set to an instance of an object
    and your other post i try this-

    Code:
    Dim
    ...
    See more | Go to post
    Last edited by gr8Ashish; Jan 19 '10, 12:51 PM. Reason: spell

    Leave a comment:


  • thanks for your reply frinny
    but it does not help and its almost same as i already did above..
    well i am not able to read connection string by above methods till now

    you or anybody has the solution pls tell me
    See more | Go to post

    Leave a comment:


  • how to read web.config from iis web directory

    hi all
    i am using a windows application as well as web application developed in visual studio 2010 beta 2 using .net framework 4 on windows xp/windows server 2008/windows7
    i am able to read web.config file on system running windows XP sp2 but same is not read by windows 7 and windows server 2008
    i installed my web application on iis 7 on said windows with .net 4 but it not read web.config by my windows...
    See more | Go to post
    Last edited by gr8Ashish; Jan 15 '10, 04:07 PM. Reason: spelling in header

  • same error

    i am having same problem but not with office component

    error --------------------------------------------------------------------------
    Retrieving the COM class factory for component with CLSID {E82A4C8E-7CBA-11D3-8D90-005004561FA5} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSN OTREG)).
    Description: An unhandled exception...
    See more | Go to post

    Leave a comment:


  • gr8Ashish
    replied to DateTime Value differ
    in .NET
    but there is not any retrival of data here
    i insert at first time that automatically takes different format(dd.MM.yy yy h:mm:ss)
    when i update(overload same field) i got different format(dd/MMM/yyyy h:mm:ss tt) - default format

    only change that i use same function Microsoft.Visua lBasic.FormatDa teTime(Date.Now , DateFormat.gene raldate)
    but from different plateform [web(.aspx) and vb application(.vb )]...
    See more | Go to post

    Leave a comment:


  • gr8Ashish
    replied to DateTime Value differ
    in .NET
    thanks for your reply

    but the problem seems not with sql server it stored whatever it vb code provide it to variable
    at first time - i got sqlserver value in dd.mm.yyy h:mm:ss
    an dwhen update i got sql server value is changed to dd/MMM/yyyy h:mm:ss tt (default format)...
    See more | Go to post

    Leave a comment:


  • gr8Ashish
    replied to DateTime Value differ
    in .NET
    DateTime Value differ

    Hi all,
    I am facing a problem. I create a application that is insert date and time in SQL Server 2005 table from web page then i fetch this datetime type field in vb.net application and adding some hours or minute into it then again update that field

    but the problem is when i insert via web (my .aspx page) it save as different format then the other one same function i use in vb.net application...
    See more | Go to post

    Leave a comment:


  • gr8Ashish
    started a topic DateTime Value differ
    in .NET

    DateTime Value differ

    Hi all,
    I am facing a problem. I create a application that is insert date and time in SQL Server 2005 table from web page then i fetch this datetime type field in vb.net application and adding some hours or minute into it then again update that field

    but the problem is when i insert via web (my .aspx page) it save as different format then the other one same function i use in vb.net application will give me different format...
    See more | Go to post
No activity results to display
Show More
Working...