Jump to content
Xtreme .Net Talk

Disco_gal_1

Members
  • Posts

    10
  • Joined

  • Last visited

Disco_gal_1's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Same problem I am trying to do the same thing. I am able to disable the column using the itemdatabound event but the link can still be clicked. Any ideas?
  2. Solved I finally figured it out from other posts and trial and error.... I created a module and here is the code. Module mdlDrive Public Declare Function WNetGetConnection Lib "mpr.dll" Alias _ "WNetGetConnectionA" (ByVal lpszLocalName As String, _ ByVal lpszRemoteName As String, ByRef cbRemoteName As Integer) As Integer Sub Main(ByVal sDriveLetter As String, ByRef sServerName As String) Dim ret As Integer Dim out As String = New String(" ", 260) Dim len As Integer = 260 ret = WNetGetConnection(sDriveLetter, out, len) sServerName = RTrim(out) End Sub End Module The calling function from my form is mdlDrive.Main(sDriveLetter, sServerName) Cheers!
  3. Hello- I am trying to return the unc name of a mapped drive. I am using the Open File Dialog to allow users to select a file. OpenFileDialog1.FileName returns F:\foldername\filename.txt I need it to return \\servername\foldername\filename.txt Any ideas? Thanks in advance!
  4. Are you tabbing through the page and ensuring the button had focus when you click enter?
  5. I am using Crystal Reports and ASP.NET via the Crystal Report Viewer that comes with .NET. I can view reports unless they have parameters. My VB.NET applications use the default crystal dialog box to prompt for parameters if they are need but in ASP.Net I get the following error: Server Error in '/XXX' Application. ------------------------------------------------------------------ Missing parameter field current value. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: CrystalDecisions.CrystalReports.Engine.ParameterFieldCurrentValueException: Missing parameter field current value. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. I would assume that ASP.NET should be able to prompt for parameters by default. I can pass the parameter programatically and it works. We have lots of reports so I would prefer the default Crystal dialog prompt. Any ideas on why this does not work in ASP.NET but works in VB.NET? Thanks! Keri
  6. I have found the problem.... Even though I turned off the Anonymous Access in the properties of the application before I did my build, when I install the application the anonymous access box is checked again. The anonymous access is found on the Directory Security tab of the application properties. I am not sure how this gets turned back on but it breaks my authentication code. Keri
  7. Yes, my authentication is set to <authentication mode="Windows"/> <authorization> <allow users="*" /> <!-- Allow all users --> </authorization> Unless there is something else I need in web.config. Thanks for your input! Keri
  8. Hello - I am using the User.Identity.Name to get the user that is logged into the pc. When I debug or run my ASP.Net application through Visual Studio this works as expected when I build an executable and install it on my pc it returns a blank value. Any suggestions? Thanks in advance! Keri
  9. Thanks for the links... I am wading through. Although it seems like you had an issue acessing SQL Server not the Crystal Report. I am able to run the Crystal Report with no problems when I stored the report on C: but when I move the report to a server so they can be shared I get the Load Report Failed. The other strange thing is that I can access the report in a VB.Net application but not in my ASP.Net application. Thanks again for the links. Keri
  10. I having the same issue that rudepuppy had... neither work around seems to do the trick for me? Did you ever find a solution to this?
×
×
  • Create New...