I'm inheriting a web application and the previous programmer compiled all his code into a .dll. The .cs files are not present on the server.
Working on previous projects, I've always uploaded the .aspx file and the corresponding .cs file. It's never been a problem for me and I always thought it was standard procedure. Am I wrong or jus...
hi guys
i want to use the order by catid... but i need to use it on the 2 letter of the catid field
this is not working for me: order by mid(catid, 2,3)
what can be the answer?
...
I have trawled the internet - to no avail. Woe is me.
I have a .Net website running under a .Net framework 4.0 App Pool.
The website references various assemblies that have been compiled for .Net 3.5.
I have ensured that identical versions of the dll's and pdb's are in the bin folder of the the 3.5 code that I am trying to debug, and ...
Hi,
I made a webservice in VB.Net with a method returning a custom class or object.
<WebMethod()> _
Public Function CreatePerson(ByVal LastName As String, ByVal FirstName As String) As Person
Return New Person(LastName, FirstName)
End Function
Public Class Person
Public Sub New()
End Sub
Public Sub New(ByVal LastNam...
In Web Forms we were able to see out N-Tier System.Diagnostics trace statements at the bottom of a page because they effectively executed within the page lifecycle.
In Mvc, I can find these trace statements using trace.axd and randomly searching the index, but I would really like my trace statements that execute inside my controller act...
I have written the following script below - I am not quite happy with the script as I think it could be written in a more elegant and dynamic way...
I am using ftp.exe to ftp files from my application to another server.
If the folder structure does not exists on the web site. I need to create the folder stucture...
and doing it this w...
Hi,
I am using dsofile.dll to get pagecount from word documents, all I need at this point is pagecount and only Word documents at this time.
For some documents the pagecount returns as 0 (or invalid in general maybe?) and therefore I'm in need of a solution or a different approach.
Word automation is a last resort as it is considered ...
Firstly apologies for the length of this question, and for asking about facebook API ( seemingly one of the most inconsistent api's in the world... ).
The Situation:
We're producing an FB product 'community' - type page for our client, featuring standard facebook tabs, one of which embeds a flash game. At the end of this game we'd like ...
Hi, I'm an ASP.NET C# guy who has to go back to classic ASP, and need some help with it.
First, look at this two functions (I know in VBScript the comments are declared by ' and not by // but the syntax highlighter here messes up with ').
First version:
Function DoThing
Dim Connection, Command, Recordset
Set Connection = Ser...
I need a regular expression to match all numbers inclusive between -100 and 0.
So valid values are:
0
-100
-40
Invalid are:
1
100
40
Thank you!
...
hey all.. i need a function that would return a previous and next numbers, but only within my numbers range.
so, for example, if my range is from 0 to 7, and im on 6 - next should return 7. if im on 7 - next should return 0 (it circled back to it).
same for previous, if im on 0, previous should be 7. I think modulo can be used to figur...
How to restrict folder access in asp.net
like i dun want any other to see my Uploads folder in browser by link http://www.myweb.com/Uploads
Please help
...
I used a jquery file to upload files ie ajaxuploader without any flash..
it loads a iframe on loading the jquery but its not working in IE 6, but it works fine in IE 7
the onload funciton is not working in IE 6,,
i have used a ajaxuploader.js file to do this operation,,, pls help
var name = 'iframe_au' + get_uid();
// create iframe...
I believe we can share our compilation blacklisted keywords for use in forum or comment system to filter out unwanted spam and words like s*x, f**k. I hope you can share all your list here.
...
Hi,
I have some picture named like this . (like "2.jpeg", "1234.gif" etc.)
how can I get the integer from the string?
I mean, is there something like the C function:
sscanf(myString,"%d", myInteger);
thanks
Alessandro
...
I am using ajax numeric updown extender control but it is raising an exception "The Number Of Fractional Digits Is Out Of Range" when i change values using the up or down buttons. The structure of my web page is shown below :
<body>
<form id="form1" runat="server">
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</a...
hi,i am using a listview in which employee detail is shown.i want to display a image which should be uploaded by user shown in one of the column of listview.In listview i use layout,item,edititem and insert item templates.a new user can upload a image through a fileupload control(which is in insert item template).problem is that i would ...
We have a survey site that was apparently attacked. The symptoms are identical to what was described on the following page on this site:
http://stackoverflow.com/questions/3775964/xss-attack-on-the-asp-net-website.
I found multiple entries in our IIS logs that included the malicious code:
< / title> < script src = http : // google-s...
<td runut="server" id="sa">
</td>
i have a dynamic ASP button and i want to insert a HTML code inside that "TD" (above). just by pressing the button.
please help me.
...
Hello,
I am trying to make my ASP page to create a folder on a directory path.
I am getting an error:
Microsoft VBScript runtime error '800a0046'
Permission denied
I now its somthing to do with IIS 7 IUSR permission for the folder.
The code is below.
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
dim strUserName
foldername= "myfol...