Showing posts with label website. Show all posts
Showing posts with label website. Show all posts

Saturday, March 31, 2012

table1_onclick generated without javascript function

Hi,

I have a website in dotnet2.0 with a masterpage.

Here is my code of page wich use the masterpage :

<%@dotnet.itags.org. Page Language="VB" AutoEventWireup="false" CodeFile="WfSelectExp.aspx.vb" Inherits="WebForm_WfSelectExp" MasterPageFile="~/MasterPage.master" Title="Appolo" Culture="auto" meta:resourcekey="PageResource1" UICulture="auto" %><asp:Content ID="ContentSelectBL" ContentPlaceHolderID="ContentPlaceHolderCentral" runat="Server"> <table border="0" cellpadding="0" cellspacing="0" class="TABLE" width="100%"> <tr> <td colspan="2" style="height: 10px; width: 5px;"></td> </tr> <tr> <td style="width: 5px;"></td> <td align="center"> <table id="Table" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td><!-- table presentation -->

And IIS will generated a page with the following code :

 <table id="TABLE1" border="0" cellpadding="0" cellspacing="0" class="TABLE" onload="javascript:CloseFenAttente()" style="height: 87%" width="100%" onclick="return TABLE1_onclick()"> <tr> <td colspan="5" style="height: 5px; width: 5px;"> <input type="hidden" name="ctl00$ContentPlaceHolderCentral$HiddenFieldPoidsTotal" id="ctl00_ContentPlaceHolderCentral_HiddenFieldPoidsTotal" value="0" /> <input type="hidden" name="ctl00$ContentPlaceHolderCentral$HiddenFieldQuantCommPAL" id="ctl00_ContentPlaceHolderCentral_HiddenFieldQuantCommPAL" value="0" /> <input type="hidden" name="ctl00$ContentPlaceHolderCentral$HiddenFieldQuantExpPAL" id="ctl00_ContentPlaceHolderCentral_HiddenFieldQuantExpPAL" value="0" /> <input type="hidden" name="ctl00$ContentPlaceHolderCentral$HiddenFieldQuantCommUL" id="ctl00_ContentPlaceHolderCentral_HiddenFieldQuantCommUL" value="0" /> <input type="hidden" name="ctl00$ContentPlaceHolderCentral$HiddenFieldQuantExpUL" id="ctl00_ContentPlaceHolderCentral_HiddenFieldQuantExpUL" value="0" /> <input type="hidden" name="ctl00$ContentPlaceHolderCentral$HiddenFieldRetour" id="ctl00_ContentPlaceHolderCentral_HiddenFieldRetour" value="0" /> </td> </tr> <tr> <td style="width: 10px; height: 59px;"></td> <td align="center" colspan="3" style="height: 59px"><!-- Table presentation -->

And as you can see you have a Table1.onclick() whereas no function is create before.

I have a lot of code around so I can not post all the page else I have to post all the website..

But it seems to be a bug in dotnet 2.0

I have search on google and found few people with the same issue, someone know more about this?

Or have a solution to this?

thanks,

I have the same problem.....

need help!!!!!!! AJAX applications are useless if very time it raises an error,isn't it?

Wednesday, March 28, 2012

tables

I have created a fully functioning website but there is one problem - it comtains 2 tables on the default page which have a gap!

I have entered padding="opx" border="0px" and it hasn't worked??

there is no <br /> between the tables or a nbsp;

help?!!

rach

Can you provide a link to your website?


Try put

cellspacing="0"cellpadding="0"border="0" into you two tables


For CSS, set the padding to 0 and the MARGIN to 0.


it's ok I have done it now! it was really basic! d'oh

Rach

Monday, March 26, 2012

Tables arent sized correctly in VS2005

Im using visual studio to make my website, but im having problems with tables every time.

I use the mnouse to resize the tables cells, but every time they are shown totally wrong! If i place a table with to columns and a width of 800px and then set the left coulm to be 50 px then the shown lengt is a third of the table of that column. Also in the preview.

I havent seen this problem in dreamweaver, so i dont know if this is a setting or something that i have to set..

what does the STYLE property look like on the <table> tag?

Are any CSS classes being inherited?


Well it seems like that if i drag a cell in a table, only the width of this cell is being set and not the one in the next cell. Which means that when i get these strange sizes, then the table have the width 800px, but the first column have a width of 50px and the next have the width 150 (just and example). If i then type the proper lenghts in to the style field, then i can make it display properly.

Is this a bug in VS perhaps (a rather big bug i would say)

I would like the drag the sizes around, so that it is easier to see


not sure I follow... but remember that CSS goes down to the lowest level. If you have two colums and you set cell1 to 50 and cell2 to 50 then you get 100... if you want the table to 800 and only cell1 to 50 then make sure that cell2 has NO WIDTH SET...

I've found that NO designer is great for HTML. You are almost always better off doing it yourself from the html view.

tabstrip

Hi,

I would like to insert a tabstrip in my website but I don't find the componant.

I found a tuto, but i don't understand!

Help me please!

Thanks

http://msdn.microsoft.com/archive/en-us/samples/internet/asp_dot_net_servercontrols/webcontrols/default.asp

http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/webcontrols_entry.asp

You first need to download the controls (if your using FW 1.1), that is provided in the 1st link. The second link will give you more sites to read through, I found it rather difficult to get it to work on my page, so hopefully you have better success. Good luck!

If you are using 2.0.... i'd recommend checking out the slides and example code for "Using Client Script in Custom Controls"

http://www.aspworkshops.com/Downloads/Default.aspx

VERY easy to use and setup and works great

Tabstrip

Hi,
I have this website that consists of 2 frames.
In my topFrame I have a tabstrip.
What I am trying to do is, when you click on a tab, the corresponding page
is displayed in my mainFrame.
I can't seem to find how to do it.
Can anyone help me?
Thx.hi Bart,
this might be of interest to you
http://www.codeproject.com/aspnet/dwtabstrip.asp
the best
srini
"Bart Schelkens" wrote:

> Hi,
> I have this website that consists of 2 frames.
> In my topFrame I have a tabstrip.
> What I am trying to do is, when you click on a tab, the corresponding page
> is displayed in my mainFrame.
> I can't seem to find how to do it.
> Can anyone help me?
> Thx.
>
>
In the frames page set the target = "mainFrame" for the frame in which your
tabstrip is located.
Freddy
"Bart Schelkens" <BSchelkens@.hotmail.com> wrote in message
news:Odh25P5pEHA.3520@.TK2MSFTNGP11.phx.gbl...
> Hi,
> I have this website that consists of 2 frames.
> In my topFrame I have a tabstrip.
> What I am trying to do is, when you click on a tab, the corresponding page
> is displayed in my mainFrame.
> I can't seem to find how to do it.
> Can anyone help me?
> Thx.
>
i've been looking at it, but i can't get it to work
"srini" <srini@.discussions.microsoft.com> wrote in message
news:E28F54B1-5D69-49B6-A6A1-C6931EE92430@.microsoft.com...
> hi Bart,
> this might be of interest to you
> http://www.codeproject.com/aspnet/dwtabstrip.asp
> the best
> srini
> "Bart Schelkens" wrote:
>
page

Saturday, March 24, 2012

Tabstrip

Hi,

I have this website that consists of 2 frames.
In my topFrame I have a tabstrip.
What I am trying to do is, when you click on a tab, the corresponding page
is displayed in my mainFrame.

I can't seem to find how to do it.
Can anyone help me?

Thx.hi Bart,
this might be of interest to you
http://www.codeproject.com/aspnet/dwtabstrip.asp
the best
srini

"Bart Schelkens" wrote:

> Hi,
> I have this website that consists of 2 frames.
> In my topFrame I have a tabstrip.
> What I am trying to do is, when you click on a tab, the corresponding page
> is displayed in my mainFrame.
> I can't seem to find how to do it.
> Can anyone help me?
> Thx.
>
In the frames page set the target = "mainFrame" for the frame in which your
tabstrip is located.

Freddy

"Bart Schelkens" <BSchelkens@.hotmail.com> wrote in message
news:Odh25P5pEHA.3520@.TK2MSFTNGP11.phx.gbl...
> Hi,
> I have this website that consists of 2 frames.
> In my topFrame I have a tabstrip.
> What I am trying to do is, when you click on a tab, the corresponding page
> is displayed in my mainFrame.
> I can't seem to find how to do it.
> Can anyone help me?
> Thx.
i've been looking at it, but i can't get it to work

"srini" <srini@.discussions.microsoft.com> wrote in message
news:E28F54B1-5D69-49B6-A6A1-C6931EE92430@.microsoft.com...
> hi Bart,
> this might be of interest to you
> http://www.codeproject.com/aspnet/dwtabstrip.asp
> the best
> srini
> "Bart Schelkens" wrote:
> > Hi,
> > I have this website that consists of 2 frames.
> > In my topFrame I have a tabstrip.
> > What I am trying to do is, when you click on a tab, the corresponding
page
> > is displayed in my mainFrame.
> > I can't seem to find how to do it.
> > Can anyone help me?
> > Thx.

Tagging in .NET

I'm wondering if anyone could help me in figuring out the architecture / database tables needed to implement tagging into my website. Users would be tagging their RSS feeds.

Are there any good articles that explain the architecture and tables necessart to implement this?

Thanks in advance.could you explain what you mean by "tagging"?

"implement tagging into my website"

"tagging their RSS feeds."

Whats this "tagging" ?


lol.. jinx Curt... i had my reply window open and stepped away for a bit before i finished my post
Thanks for your reply...

I thought that "tagging" is a fairly well know functionality in the internet world today. I guess I am wrong. Please let me explain...

Flickr.com - allows you to associate words to a photo, or...tag the photo with a descriptive word
http://del.icio.us/ - allows you to "tag" a link with a descriptive word or words.

In my case, I have RSS feeds that I would like to allow the users to "tag" or to associate a descriptive word or words to a feed.

Here is a great article that explains it in more detail. What Im looking to learn and implement is the architecture and datbase tables necessary to incorporate this into my website.

http://freshtakes.typepad.com/znetlady/2005/07/tagging_what_is.html

Thanks again.

So in short:

You are asking "why am I making this more complex than adding a simple 'description' column to a database table" ?

I seriously don't see all the confusing and over-thinking of adding one extra field onto your data table(s) for your users to add/edit/search-on

Thursday, March 22, 2012

Takes VS 2005 *3 MINUTES* to compile ASP.NET 2.0 website

It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0 website
when external DLL is modified. As a matter of fact, when I click 'Build',
it looks like VS 2005 hangs for most of that time before it actually starts
compiling. If I modify something inside WebSite project itself without
modifying DLL, it takes few seconds to compile.
Why? How can I control this behavior?
I was able to reproduce this behavior by creating a simple WebSite and
simple DLL that I reference from that WebSite project.Amelyan,
you have posted this message 3 times now, and you accepted
that the explanation which was offered made sense.
But you have not said whether you tried the simple solution posted,
and whether it works or not.
Did you try it ? Does it work ?
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Espaol : http://asp.net.do/foros/
======================================
"Amelyan" <bamelyan at wi.rr.com> wrote in message
news:eHx9wrV4FHA.268@.TK2MSFTNGP10.phx.gbl...
> It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0 websi
te when
> external DLL is modified. As a matter of fact, when I click 'Build', it l
ooks like VS
> 2005 hangs for most of that time before it actually starts compiling. If
I modify
> something inside WebSite project itself without modifying DLL, it takes fe
w seconds to
> compile.
> Why? How can I control this behavior?
> I was able to reproduce this behavior by creating a simple WebSite and sim
ple DLL that I
> reference from that WebSite project.
>
Juan,
Yes, I tried the your suggestion. When I remove the old DLL and re-add it
to references every time compile, this process takes even longer. So, this
solution is useless.
"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:%23g1x5yV4FHA.2364@.TK2MSFTNGP12.phx.gbl...
> Amelyan,
> you have posted this message 3 times now, and you accepted
> that the explanation which was offered made sense.
> But you have not said whether you tried the simple solution posted,
> and whether it works or not.
> Did you try it ? Does it work ?
>
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : http://asp.net.do/faq/
> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
> ======================================
> "Amelyan" <bamelyan at wi.rr.com> wrote in message
> news:eHx9wrV4FHA.268@.TK2MSFTNGP10.phx.gbl...
>
Have you tried compiling the assembly from within VS ?
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Espaol : http://asp.net.do/foros/
======================================
"Amelyan" <bamelyan at wi.rr.com> wrote in message
news:eVrkx2V4FHA.4076@.TK2MSFTNGP15.phx.gbl...
> Juan,
> Yes, I tried the your suggestion. When I remove the old DLL and re-add it
to references
> every time compile, this process takes even longer. So, this solution is
useless.
>
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:%23g1x5yV4FHA.2364@.TK2MSFTNGP12.phx.gbl...
>
Yes, that is how I am doing it.
"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:uKxQT5V4FHA.2872@.TK2MSFTNGP15.phx.gbl...
> Have you tried compiling the assembly from within VS ?
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : http://asp.net.do/faq/
> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
> ======================================
> "Amelyan" <bamelyan at wi.rr.com> wrote in message
> news:eVrkx2V4FHA.4076@.TK2MSFTNGP15.phx.gbl...
>
I must have misunderstood what you meant when
you stated "when external DLL is modified".
I thought "external DLL" referred to a DLL outside your
project since, otherwise, it would be a "project DLL".
So, to recap,
1. you have a web solution
2. you add the DLL solution to that solution
3. you compile the DLL and the web solution sequentially,
from within the *same* solution
or, do you
1. have a web solution
2. have a *different* solution for your DLL
( not included in your web solution)
3. You recompile the DLL
4. you recompile the web solution and that causes the problem you describe
?
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Espaol : http://asp.net.do/foros/
======================================
"Amelyan" <bamelyan at wi.rr.com> wrote in message
news:eIrxPLW4FHA.2600@.tk2msftngp13.phx.gbl...
> Yes, that is how I am doing it.
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:uKxQT5V4FHA.2872@.TK2MSFTNGP15.phx.gbl...
>
I just tried both suggestions. I am still experiencing delays in compiling
event if I include my DLL project inside my WEbSite solution and add it as
project reference.
"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:Omql1YW4FHA.2816@.tk2msftngp13.phx.gbl...
>I must have misunderstood what you meant when
> you stated "when external DLL is modified".
> I thought "external DLL" referred to a DLL outside your
> project since, otherwise, it would be a "project DLL".
> So, to recap,
> 1. you have a web solution
> 2. you add the DLL solution to that solution
> 3. you compile the DLL and the web solution sequentially,
> from within the *same* solution
> or, do you
> 1. have a web solution
> 2. have a *different* solution for your DLL
> ( not included in your web solution)
> 3. You recompile the DLL
> 4. you recompile the web solution and that causes the problem you describe
> ?
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : http://asp.net.do/faq/
> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
> ======================================
> "Amelyan" <bamelyan at wi.rr.com> wrote in message
> news:eIrxPLW4FHA.2600@.tk2msftngp13.phx.gbl...
>
Amount of memory on you box? What kind of processor?
Have you checked CPU usage, disk swapping and memory usage during a compile?
What is this "simple" DLL doing?
Did you have a beta previously installed?
If so, are you sure you uninstalled everything completely (some betas
required manual steps to remove)?
There are a lot of variables in the mix, so it is hard to find a solution.
For me, the IDE is a bit slower than VS.NET, but not 3 minutes to compile
(more like a few extra seconds).
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
****************************************
*******
Think Outside the Box!
****************************************
*******
"Amelyan" <bamelyan at wi.rr.com> wrote in message
news:eHx9wrV4FHA.268@.TK2MSFTNGP10.phx.gbl...
> It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0
> website when external DLL is modified. As a matter of fact, when I click
> 'Build', it looks like VS 2005 hangs for most of that time before it
> actually starts compiling. If I modify something inside WebSite project
> itself without modifying DLL, it takes few seconds to compile.
> Why? How can I control this behavior?
> I was able to reproduce this behavior by creating a simple WebSite and
> simple DLL that I reference from that WebSite project.
>
I have 2GHz processor with 512MB of memory. I never installed beta, I
installed VS2005 final release.
Simple HelloWorld.dll doesn't do much, contains a function that returns a
string.
It does take few extra seconds when I modify my WebSite project internally,
but when I modify external Helloworld.dll, that is what slows down
compilation.
I pulled up OutputWindow in VS2005 to watch the progress of compilation. I
noticed that 95% of that 2-3 minutes time is VS2005 is blocked (not
responding) sitting there with CPU utilization at 2%. Then when it actually
starts compiling, it compiles in normal time.
I guess, from my further observations, when I click the Build button, 95% of
the time VS2005 is doing something before it actually starts compiling
(maybe waiting for some resorse, and at that time not responding to any user
commands or menu clicks). When it actually starts compiling, it takes a few
seconds.
"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@.comcast.netNoSpamM> wrote in
message news:uotJK$X4FHA.4076@.TK2MSFTNGP15.phx.gbl...
> Amount of memory on you box? What kind of processor?
> Have you checked CPU usage, disk swapping and memory usage during a
> compile?
> What is this "simple" DLL doing?
> Did you have a beta previously installed?
> If so, are you sure you uninstalled everything completely (some betas
> required manual steps to remove)?
> There are a lot of variables in the mix, so it is hard to find a solution.
> For me, the IDE is a bit slower than VS.NET, but not 3 minutes to compile
> (more like a few extra seconds).
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
> ****************************************
*******
> Think Outside the Box!
> ****************************************
*******
> "Amelyan" <bamelyan at wi.rr.com> wrote in message
> news:eHx9wrV4FHA.268@.TK2MSFTNGP10.phx.gbl...
>
Juan,
After further analysis, I noticed that when I click Build button, VS2005 is
doing something before it actually starts compiling and during this time I
see only 0-2% of cpu utilization, 95% of that 2 minute time VS2005 is in
that mode. At that time, VS2005 doesn't respond to any commands or menu
clicks.
When it actually start building (starting with 'Validating Web Site' message
in output window), it takes normal time, few seconds to build. And during
that actual build time, VS2005 responds to commands and menu clicks in a
normal way.
So, 95% of the time is between when I click Build button and when the build
process is actually starts, VS2005 spends in a "locked state" where it
doesn't even respond to commands or menu clicks, utilizing 0-2% of cpu.
Remember, that it only happens when my dll project is modified.
Thanks,
"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:Omql1YW4FHA.2816@.tk2msftngp13.phx.gbl...
>I must have misunderstood what you meant when
> you stated "when external DLL is modified".
> I thought "external DLL" referred to a DLL outside your
> project since, otherwise, it would be a "project DLL".
> So, to recap,
> 1. you have a web solution
> 2. you add the DLL solution to that solution
> 3. you compile the DLL and the web solution sequentially,
> from within the *same* solution
> or, do you
> 1. have a web solution
> 2. have a *different* solution for your DLL
> ( not included in your web solution)
> 3. You recompile the DLL
> 4. you recompile the web solution and that causes the problem you describe
> ?
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : http://asp.net.do/faq/
> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
> ======================================
> "Amelyan" <bamelyan at wi.rr.com> wrote in message
> news:eIrxPLW4FHA.2600@.tk2msftngp13.phx.gbl...
>

Takes VS 2005 *3 MINUTES* to compile ASP.NET 2.0 website

It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0 website
when external DLL is modified. As a matter of fact, when I click 'Build',
it looks like VS 2005 hangs for most of that time before it actually starts
compiling. If I modify something inside WebSite project itself without
modifying DLL, it takes few seconds to compile.

Why? How can I control this behavior?

I was able to reproduce this behavior by creating a simple WebSite and
simple DLL that I reference from that WebSite project.Amelyan,

you have posted this message 3 times now, and you accepted
that the explanation which was offered made sense.

But you have not said whether you tried the simple solution posted,
and whether it works or not.

Did you try it ? Does it work ?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Espaol : http://asp.net.do/foros/
======================================
"Amelyan" <bamelyan at wi.rr.com> wrote in message
news:eHx9wrV4FHA.268@.TK2MSFTNGP10.phx.gbl...
> It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0 website when
> external DLL is modified. As a matter of fact, when I click 'Build', it looks like VS
> 2005 hangs for most of that time before it actually starts compiling. If I modify
> something inside WebSite project itself without modifying DLL, it takes few seconds to
> compile.
> Why? How can I control this behavior?
> I was able to reproduce this behavior by creating a simple WebSite and simple DLL that I
> reference from that WebSite project.
Juan,

Yes, I tried the your suggestion. When I remove the old DLL and re-add it
to references every time compile, this process takes even longer. So, this
solution is useless.

"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:%23g1x5yV4FHA.2364@.TK2MSFTNGP12.phx.gbl...
> Amelyan,
> you have posted this message 3 times now, and you accepted
> that the explanation which was offered made sense.
> But you have not said whether you tried the simple solution posted,
> and whether it works or not.
> Did you try it ? Does it work ?
>
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : http://asp.net.do/faq/
> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
> ======================================
> "Amelyan" <bamelyan at wi.rr.com> wrote in message
> news:eHx9wrV4FHA.268@.TK2MSFTNGP10.phx.gbl...
>> It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0
>> website when external DLL is modified. As a matter of fact, when I click
>> 'Build', it looks like VS 2005 hangs for most of that time before it
>> actually starts compiling. If I modify something inside WebSite project
>> itself without modifying DLL, it takes few seconds to compile.
>>
>> Why? How can I control this behavior?
>>
>> I was able to reproduce this behavior by creating a simple WebSite and
>> simple DLL that I reference from that WebSite project.
>>
Have you tried compiling the assembly from within VS ?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Espaol : http://asp.net.do/foros/
======================================
"Amelyan" <bamelyan at wi.rr.com> wrote in message
news:eVrkx2V4FHA.4076@.TK2MSFTNGP15.phx.gbl...
> Juan,
> Yes, I tried the your suggestion. When I remove the old DLL and re-add it to references
> every time compile, this process takes even longer. So, this solution is useless.
>
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:%23g1x5yV4FHA.2364@.TK2MSFTNGP12.phx.gbl...
>> Amelyan,
>>
>> you have posted this message 3 times now, and you accepted
>> that the explanation which was offered made sense.
>>
>> But you have not said whether you tried the simple solution posted,
>> and whether it works or not.
>>
>> Did you try it ? Does it work ?
>>
>>
>>
>>
>> Juan T. Llibre, ASP.NET MVP
>> ASP.NET FAQ : http://asp.net.do/faq/
>> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
>> ======================================
>> "Amelyan" <bamelyan at wi.rr.com> wrote in message
>> news:eHx9wrV4FHA.268@.TK2MSFTNGP10.phx.gbl...
>>> It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0 website when
>>> external DLL is modified. As a matter of fact, when I click 'Build', it looks like VS
>>> 2005 hangs for most of that time before it actually starts compiling. If I modify
>>> something inside WebSite project itself without modifying DLL, it takes few seconds to
>>> compile.
>>>
>>> Why? How can I control this behavior?
>>>
>>> I was able to reproduce this behavior by creating a simple WebSite and simple DLL that
>>> I reference from that WebSite project.
>>>
>>
>>
Yes, that is how I am doing it.

"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:uKxQT5V4FHA.2872@.TK2MSFTNGP15.phx.gbl...
> Have you tried compiling the assembly from within VS ?
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : http://asp.net.do/faq/
> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
> ======================================
> "Amelyan" <bamelyan at wi.rr.com> wrote in message
> news:eVrkx2V4FHA.4076@.TK2MSFTNGP15.phx.gbl...
>> Juan,
>>
>> Yes, I tried the your suggestion. When I remove the old DLL and re-add
>> it to references every time compile, this process takes even longer. So,
>> this solution is useless.
>>
>>
>>
>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>> news:%23g1x5yV4FHA.2364@.TK2MSFTNGP12.phx.gbl...
>>> Amelyan,
>>>
>>> you have posted this message 3 times now, and you accepted
>>> that the explanation which was offered made sense.
>>>
>>> But you have not said whether you tried the simple solution posted,
>>> and whether it works or not.
>>>
>>> Did you try it ? Does it work ?
>>>
>>>
>>>
>>>
>>> Juan T. Llibre, ASP.NET MVP
>>> ASP.NET FAQ : http://asp.net.do/faq/
>>> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
>>> ======================================
>>> "Amelyan" <bamelyan at wi.rr.com> wrote in message
>>> news:eHx9wrV4FHA.268@.TK2MSFTNGP10.phx.gbl...
>>>> It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0
>>>> website when external DLL is modified. As a matter of fact, when I
>>>> click 'Build', it looks like VS 2005 hangs for most of that time before
>>>> it actually starts compiling. If I modify something inside WebSite
>>>> project itself without modifying DLL, it takes few seconds to compile.
>>>>
>>>> Why? How can I control this behavior?
>>>>
>>>> I was able to reproduce this behavior by creating a simple WebSite and
>>>> simple DLL that I reference from that WebSite project.
>>>>
>>>
>>>
>>
>>
I must have misunderstood what you meant when
you stated "when external DLL is modified".

I thought "external DLL" referred to a DLL outside your
project since, otherwise, it would be a "project DLL".

So, to recap,

1. you have a web solution
2. you add the DLL solution to that solution
3. you compile the DLL and the web solution sequentially,
from within the *same* solution

or, do you

1. have a web solution
2. have a *different* solution for your DLL
( not included in your web solution)
3. You recompile the DLL
4. you recompile the web solution and that causes the problem you describe

?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Espaol : http://asp.net.do/foros/
======================================
"Amelyan" <bamelyan at wi.rr.com> wrote in message
news:eIrxPLW4FHA.2600@.tk2msftngp13.phx.gbl...
> Yes, that is how I am doing it.
> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
> news:uKxQT5V4FHA.2872@.TK2MSFTNGP15.phx.gbl...
>> Have you tried compiling the assembly from within VS ?
>>
>>
>>
>> Juan T. Llibre, ASP.NET MVP
>> ASP.NET FAQ : http://asp.net.do/faq/
>> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
>> ======================================
>> "Amelyan" <bamelyan at wi.rr.com> wrote in message
>> news:eVrkx2V4FHA.4076@.TK2MSFTNGP15.phx.gbl...
>>> Juan,
>>>
>>> Yes, I tried the your suggestion. When I remove the old DLL and re-add it to
>>> references every time compile, this process takes even longer. So, this solution is
>>> useless.
>>>
>>>
>>>
>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>> news:%23g1x5yV4FHA.2364@.TK2MSFTNGP12.phx.gbl...
>>>> Amelyan,
>>>>
>>>> you have posted this message 3 times now, and you accepted
>>>> that the explanation which was offered made sense.
>>>>
>>>> But you have not said whether you tried the simple solution posted,
>>>> and whether it works or not.
>>>>
>>>> Did you try it ? Does it work ?
>>>>
>>>>
>>>>
>>>>
>>>> Juan T. Llibre, ASP.NET MVP
>>>> ASP.NET FAQ : http://asp.net.do/faq/
>>>> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
>>>> ======================================
>>>> "Amelyan" <bamelyan at wi.rr.com> wrote in message
>>>> news:eHx9wrV4FHA.268@.TK2MSFTNGP10.phx.gbl...
>>>>> It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0 website when
>>>>> external DLL is modified. As a matter of fact, when I click 'Build', it looks like
>>>>> VS 2005 hangs for most of that time before it actually starts compiling. If I
>>>>> modify something inside WebSite project itself without modifying DLL, it takes few
>>>>> seconds to compile.
>>>>>
>>>>> Why? How can I control this behavior?
>>>>>
>>>>> I was able to reproduce this behavior by creating a simple WebSite and simple DLL
>>>>> that I reference from that WebSite project.
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
I just tried both suggestions. I am still experiencing delays in compiling
event if I include my DLL project inside my WEbSite solution and add it as
project reference.

"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:Omql1YW4FHA.2816@.tk2msftngp13.phx.gbl...
>I must have misunderstood what you meant when
> you stated "when external DLL is modified".
> I thought "external DLL" referred to a DLL outside your
> project since, otherwise, it would be a "project DLL".
> So, to recap,
> 1. you have a web solution
> 2. you add the DLL solution to that solution
> 3. you compile the DLL and the web solution sequentially,
> from within the *same* solution
> or, do you
> 1. have a web solution
> 2. have a *different* solution for your DLL
> ( not included in your web solution)
> 3. You recompile the DLL
> 4. you recompile the web solution and that causes the problem you describe
> ?
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : http://asp.net.do/faq/
> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
> ======================================
> "Amelyan" <bamelyan at wi.rr.com> wrote in message
> news:eIrxPLW4FHA.2600@.tk2msftngp13.phx.gbl...
>> Yes, that is how I am doing it.
>>
>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>> news:uKxQT5V4FHA.2872@.TK2MSFTNGP15.phx.gbl...
>>> Have you tried compiling the assembly from within VS ?
>>>
>>>
>>>
>>> Juan T. Llibre, ASP.NET MVP
>>> ASP.NET FAQ : http://asp.net.do/faq/
>>> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
>>> ======================================
>>> "Amelyan" <bamelyan at wi.rr.com> wrote in message
>>> news:eVrkx2V4FHA.4076@.TK2MSFTNGP15.phx.gbl...
>>>> Juan,
>>>>
>>>> Yes, I tried the your suggestion. When I remove the old DLL and re-add
>>>> it to references every time compile, this process takes even longer.
>>>> So, this solution is useless.
>>>>
>>>>
>>>>
>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>> news:%23g1x5yV4FHA.2364@.TK2MSFTNGP12.phx.gbl...
>>>>> Amelyan,
>>>>>
>>>>> you have posted this message 3 times now, and you accepted
>>>>> that the explanation which was offered made sense.
>>>>>
>>>>> But you have not said whether you tried the simple solution posted,
>>>>> and whether it works or not.
>>>>>
>>>>> Did you try it ? Does it work ?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Juan T. Llibre, ASP.NET MVP
>>>>> ASP.NET FAQ : http://asp.net.do/faq/
>>>>> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
>>>>> ======================================
>>>>> "Amelyan" <bamelyan at wi.rr.com> wrote in message
>>>>> news:eHx9wrV4FHA.268@.TK2MSFTNGP10.phx.gbl...
>>>>>> It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0
>>>>>> website when external DLL is modified. As a matter of fact, when I
>>>>>> click 'Build', it looks like VS 2005 hangs for most of that time
>>>>>> before it actually starts compiling. If I modify something inside
>>>>>> WebSite project itself without modifying DLL, it takes few seconds to
>>>>>> compile.
>>>>>>
>>>>>> Why? How can I control this behavior?
>>>>>>
>>>>>> I was able to reproduce this behavior by creating a simple WebSite
>>>>>> and simple DLL that I reference from that WebSite project.
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
Amount of memory on you box? What kind of processor?

Have you checked CPU usage, disk swapping and memory usage during a compile?

What is this "simple" DLL doing?

Did you have a beta previously installed?

If so, are you sure you uninstalled everything completely (some betas
required manual steps to remove)?

There are a lot of variables in the mix, so it is hard to find a solution.
For me, the IDE is a bit slower than VS.NET, but not 3 minutes to compile
(more like a few extra seconds).

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***********************************************
Think Outside the Box!
***********************************************
"Amelyan" <bamelyan at wi.rr.com> wrote in message
news:eHx9wrV4FHA.268@.TK2MSFTNGP10.phx.gbl...
> It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0
> website when external DLL is modified. As a matter of fact, when I click
> 'Build', it looks like VS 2005 hangs for most of that time before it
> actually starts compiling. If I modify something inside WebSite project
> itself without modifying DLL, it takes few seconds to compile.
> Why? How can I control this behavior?
> I was able to reproduce this behavior by creating a simple WebSite and
> simple DLL that I reference from that WebSite project.
I have 2GHz processor with 512MB of memory. I never installed beta, I
installed VS2005 final release.

Simple HelloWorld.dll doesn't do much, contains a function that returns a
string.

It does take few extra seconds when I modify my WebSite project internally,
but when I modify external Helloworld.dll, that is what slows down
compilation.

I pulled up OutputWindow in VS2005 to watch the progress of compilation. I
noticed that 95% of that 2-3 minutes time is VS2005 is blocked (not
responding) sitting there with CPU utilization at 2%. Then when it actually
starts compiling, it compiles in normal time.

I guess, from my further observations, when I click the Build button, 95% of
the time VS2005 is doing something before it actually starts compiling
(maybe waiting for some resorse, and at that time not responding to any user
commands or menu clicks). When it actually starts compiling, it takes a few
seconds.

"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@.comcast.netNoSpamM> wrote in
message news:uotJK$X4FHA.4076@.TK2MSFTNGP15.phx.gbl...
> Amount of memory on you box? What kind of processor?
> Have you checked CPU usage, disk swapping and memory usage during a
> compile?
> What is this "simple" DLL doing?
> Did you have a beta previously installed?
> If so, are you sure you uninstalled everything completely (some betas
> required manual steps to remove)?
> There are a lot of variables in the mix, so it is hard to find a solution.
> For me, the IDE is a bit slower than VS.NET, but not 3 minutes to compile
> (more like a few extra seconds).
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
> ***********************************************
> Think Outside the Box!
> ***********************************************
> "Amelyan" <bamelyan at wi.rr.com> wrote in message
> news:eHx9wrV4FHA.268@.TK2MSFTNGP10.phx.gbl...
>> It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0
>> website when external DLL is modified. As a matter of fact, when I click
>> 'Build', it looks like VS 2005 hangs for most of that time before it
>> actually starts compiling. If I modify something inside WebSite project
>> itself without modifying DLL, it takes few seconds to compile.
>>
>> Why? How can I control this behavior?
>>
>> I was able to reproduce this behavior by creating a simple WebSite and
>> simple DLL that I reference from that WebSite project.
>>
Juan,

After further analysis, I noticed that when I click Build button, VS2005 is
doing something before it actually starts compiling and during this time I
see only 0-2% of cpu utilization, 95% of that 2 minute time VS2005 is in
that mode. At that time, VS2005 doesn't respond to any commands or menu
clicks.

When it actually start building (starting with 'Validating Web Site' message
in output window), it takes normal time, few seconds to build. And during
that actual build time, VS2005 responds to commands and menu clicks in a
normal way.

So, 95% of the time is between when I click Build button and when the build
process is actually starts, VS2005 spends in a "locked state" where it
doesn't even respond to commands or menu clicks, utilizing 0-2% of cpu.

Remember, that it only happens when my dll project is modified.

Thanks,

"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:Omql1YW4FHA.2816@.tk2msftngp13.phx.gbl...
>I must have misunderstood what you meant when
> you stated "when external DLL is modified".
> I thought "external DLL" referred to a DLL outside your
> project since, otherwise, it would be a "project DLL".
> So, to recap,
> 1. you have a web solution
> 2. you add the DLL solution to that solution
> 3. you compile the DLL and the web solution sequentially,
> from within the *same* solution
> or, do you
> 1. have a web solution
> 2. have a *different* solution for your DLL
> ( not included in your web solution)
> 3. You recompile the DLL
> 4. you recompile the web solution and that causes the problem you describe
> ?
>
> Juan T. Llibre, ASP.NET MVP
> ASP.NET FAQ : http://asp.net.do/faq/
> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
> ======================================
> "Amelyan" <bamelyan at wi.rr.com> wrote in message
> news:eIrxPLW4FHA.2600@.tk2msftngp13.phx.gbl...
>> Yes, that is how I am doing it.
>>
>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>> news:uKxQT5V4FHA.2872@.TK2MSFTNGP15.phx.gbl...
>>> Have you tried compiling the assembly from within VS ?
>>>
>>>
>>>
>>> Juan T. Llibre, ASP.NET MVP
>>> ASP.NET FAQ : http://asp.net.do/faq/
>>> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
>>> ======================================
>>> "Amelyan" <bamelyan at wi.rr.com> wrote in message
>>> news:eVrkx2V4FHA.4076@.TK2MSFTNGP15.phx.gbl...
>>>> Juan,
>>>>
>>>> Yes, I tried the your suggestion. When I remove the old DLL and re-add
>>>> it to references every time compile, this process takes even longer.
>>>> So, this solution is useless.
>>>>
>>>>
>>>>
>>>> "Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
>>>> news:%23g1x5yV4FHA.2364@.TK2MSFTNGP12.phx.gbl...
>>>>> Amelyan,
>>>>>
>>>>> you have posted this message 3 times now, and you accepted
>>>>> that the explanation which was offered made sense.
>>>>>
>>>>> But you have not said whether you tried the simple solution posted,
>>>>> and whether it works or not.
>>>>>
>>>>> Did you try it ? Does it work ?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Juan T. Llibre, ASP.NET MVP
>>>>> ASP.NET FAQ : http://asp.net.do/faq/
>>>>> Foros de ASP.NET en Espaol : http://asp.net.do/foros/
>>>>> ======================================
>>>>> "Amelyan" <bamelyan at wi.rr.com> wrote in message
>>>>> news:eHx9wrV4FHA.268@.TK2MSFTNGP10.phx.gbl...
>>>>>> It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0
>>>>>> website when external DLL is modified. As a matter of fact, when I
>>>>>> click 'Build', it looks like VS 2005 hangs for most of that time
>>>>>> before it actually starts compiling. If I modify something inside
>>>>>> WebSite project itself without modifying DLL, it takes few seconds to
>>>>>> compile.
>>>>>>
>>>>>> Why? How can I control this behavior?
>>>>>>
>>>>>> I was able to reproduce this behavior by creating a simple WebSite
>>>>>> and simple DLL that I reference from that WebSite project.
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
It sounds like maybe something in your solution is referencing a network
resource that is not available.

"Amelyan" <bamelyan@.wi.rr.com> wrote in message
news:uO7Ha5i4FHA.2552@.TK2MSFTNGP10.phx.gbl...
> I have 2GHz processor with 512MB of memory. I never installed beta, I
> installed VS2005 final release.
> Simple HelloWorld.dll doesn't do much, contains a function that returns a
> string.
> It does take few extra seconds when I modify my WebSite project
internally,
> but when I modify external Helloworld.dll, that is what slows down
> compilation.
> I pulled up OutputWindow in VS2005 to watch the progress of compilation.
I
> noticed that 95% of that 2-3 minutes time is VS2005 is blocked (not
> responding) sitting there with CPU utilization at 2%. Then when it
actually
> starts compiling, it compiles in normal time.
> I guess, from my further observations, when I click the Build button, 95%
of
> the time VS2005 is doing something before it actually starts compiling
> (maybe waiting for some resorse, and at that time not responding to any
user
> commands or menu clicks). When it actually starts compiling, it takes a
few
> seconds.
>
> "Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@.comcast.netNoSpamM> wrote in
> message news:uotJK$X4FHA.4076@.TK2MSFTNGP15.phx.gbl...
> > Amount of memory on you box? What kind of processor?
> > Have you checked CPU usage, disk swapping and memory usage during a
> > compile?
> > What is this "simple" DLL doing?
> > Did you have a beta previously installed?
> > If so, are you sure you uninstalled everything completely (some betas
> > required manual steps to remove)?
> > There are a lot of variables in the mix, so it is hard to find a
solution.
> > For me, the IDE is a bit slower than VS.NET, but not 3 minutes to
compile
> > (more like a few extra seconds).
> > --
> > Gregory A. Beamer
> > MVP; MCP: +I, SE, SD, DBA
> > ***********************************************
> > Think Outside the Box!
> > ***********************************************
> > "Amelyan" <bamelyan at wi.rr.com> wrote in message
> > news:eHx9wrV4FHA.268@.TK2MSFTNGP10.phx.gbl...
> >> It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0
> >> website when external DLL is modified. As a matter of fact, when I
click
> >> 'Build', it looks like VS 2005 hangs for most of that time before it
> >> actually starts compiling. If I modify something inside WebSite
project
> >> itself without modifying DLL, it takes few seconds to compile.
> >>
> >> Why? How can I control this behavior?
> >>
> >> I was able to reproduce this behavior by creating a simple WebSite and
> >> simple DLL that I reference from that WebSite project.
> >>

Taking credit cards over your website

I just had a proposal from the finance department that they want to maybe take credit card payments over our website. I have a little understanding of it. Something to do with SSL? And I understand that there is a great risk to doing this.

Can anyone point me in the write direction so I can do a little research on this, or something explain the process to me and the dangerous of this.

Rich

check out Optimal Payments everything is on their site...adn yes you want ssl, very easy to implement...the one thing is that if you store the credit card number the complexity of the solution and the security constraints are greater(about 5 fold)


Yes you will need to get an SSL certificate. I use ones from GEO trust because they are significantly cheaper and easy to work with than Verisign and their companies. Creating a Certificate request is fairly easy. With GEOTrust it takes me about 10 minutes to create my request and get the key back from them. With Verisign it takes a few weeks and you may get yelled out by a mean person like I did once!

As far as accepting credit cards I sell Authorize.net accounts which is a pretty standard merchant provider. If you already have a merchant account you will need to get a gateway, which you will want to think of that as the swiping machine in the store. The gateway will talk to your account for you from your web site. From my experience if you have a merchant account with your Bank, then do not even ask them about this. One client had nations Bank want to create a custom API for them...6 months later they had not even got around to it, so we signed them up for the Authorizenet gateway and were live within 48 hours making $$$$.

As far as storing credit card #, do not do it if you can live without them. If you do store them, store them encrypted in your database and maybe even make it pass through two or more layers of encryption. How you encrypt is up to you. .NET supports some great encryption algorithms.

Finally it is a arrogant mistake to not accept PayPal. Set this up too, even if they think they will not need it, you would be surprised at what happens.


You will want to use a payment gateway such as paypal to process the Credit Card orders.

SSL will definitely be a requirement, as previously stated, and also, if you must store the credit card information, you will want to be sure to encrypt it (Microsoft's Enterprise Library offers a wonderful encryption block, and I believe SQL Server 2005 also has built in encryption by passing a key back and worth between your app and the sql server). Either way, when it comes to taking credit cards on the web, you can never be too secure IMO, and if you can create a solution that doesn't involve you storing a customers credit card information, it will be in your best interest.

Good luck!
Dave G.


That is some great info...

This is how I image it will work.

The person logs onto the website through a login form. Set a session variable for them... (time out in 30 mins). They click on a link (outstanding bills) and it shows a bill they need to pay.

Clock on a button that says "Pay Now", so it takes them to a page with the amount they owe. They need to fill out a credit card payment form

Name of Card, Card Number, Type of card, Secuity Code (4 digits on back of card) expiry date. Then they hit submit.


So what happens next and how does the SSL come into play?

Rich


Your payment processor (PayPal, PayFlowPro(Verisign)) should provide you with a ddl that you will reference in your code for the submission portion of your application. The required information is passed to the payment processor via a Secure Socket Link, card number, expire date, name and amount. The SSL provides the encryption and security on your site to talk for transmitting credit card transactions online.

Hope that helps...


That is great info!... Does it matter if it is a regular login form?? That verifies username and password against a database or do I have to use some secure login??


You do not necessarily need a log in form, unless you wish to store the users info such as an approval number, pay date, etc.(like those above have suggested I would not store the credit card number). The secured page or pages for the credit card transaction should reside on a secure website(protected by your SSL). The information entered by your users for the transactions should be protected as well as the actual process to make the transaction through your payment processor.

Hope that helps...

Taking over a .net website

Hello,

I'm new to asp.net - previous experience is in .asp.
I've been asked to take over development of a web-site - no problem all I need is the ftp details and download the files.

But not this time - as the site is developed in asp.net.

There is a bin directory containing files 'Activity.dll' and 'Activity.pdb'.

Am I right in thinking that this has been developed in vs.net?
And that in order to take on development I'm going to need a copy of vs studio.net and get hold of all the project files from the previous developer?

Has anyone had any experience of not being able to get hold of the necessary pre-compiled files when taking over an asp.net application?

Thankyou

DanYes, it looks like VS generated files (*.pdb holds debugger information). It would be nice to receive source code of site to work on it. Application can contain two kinds of files:
1. HTML resources (*.aspx, *.ascx, *.html, etc.) - you can copy those from site.
2. Codebehind and serverside code files (*.vb, *.cs, etc.) - those should not exist on production server
hmmm - does this mean that I am unable to simply download the files via FTP and transfer them to a different server.

For instance on the top of one .aspx file you have the following code:

<%@. Page language="c#" Codebehind="step2_activity.aspx.cs" AutoEventWireup="false" Inherits="Activity.step2_activity" %>

I was unable to find a .cs file and am not sure where the location of the file the inherits command is set to.

I've got VS Studio.net 2003 on order so will soon be able to compile my own applications but would appreciate any help or links on ensuring I get all the necessary files when taking over a site.

ThankYou

Dan
You can transfer site to different server, but you do not necessary can recompile/alter it. You have to find *.cs files (if any code was added to them). VS will create empty classes for you will not supply those.
So you're saying that the code behind files don't need to be on the production server? I assume the dll in the Bin folder contains all the code for every page then. Do you have a link that outlines all the crucial files the production web server needs?
Hi,

I don't know of a link to a certain article but you can deploy the built assembly in the /bin subfolder and then only copy the .aspx & .ascx and global.asax, web.config, any images, .js script files and .css style sheets.

Grz, Kris.
Page.aspx is the presentation page (HTML, layout, etc..)
Page.cs is the c# code
Activity.dll is the executable created from the code in page.cs (and all the other .cs files)
Activity.pdb is the debugger file - which definitely shouldn't be on a production server - if it's there the application is probably still running in debug mode, yuck!

Without access to Page.cs and the other .cs files, maintaining this site is going to be impossible unless you're only responsible for cosmetic (design) changes.
> Without access to Page.cs and the other .cs files, maintaining this site is going to be impossible

Not entirely true.

You can use a tool such asReflector for .NET, that will convert the MSIL in the .dll back into C# or VB.NET.

You'll lose any comments, but you can effectively get back the original source code.
Thanks everyone - it's an interesting difference between asp.net and .asp

With .asp all the code was uncompiled. So if you could get hold of all the site files then you could take over development easily enough.

But with .net all you get is the compiled .dll . If the previous developer decides not to release the appropriate .cs files then its almost as if you have to start from scratch.

Taking the website offline

Hi

Imagine, I want to update my website and I want to tell the users of the website (when they visit the site during the updat) that they will be unable to use the site for an hour. During the update, the users should be able to use the website

How can I achieve this?

regards

In the start even for the session redirect them to a page that says the site is off-line, and in that page's code abandon the session.

you do or don't want them to be able to use the site?

You could put a redirector in, or simply replace the defailt.aspx page.


Curt_C wrote:

you do or don't want them to be able to use the site?

You could put a redirector in, or simply replace the defailt.aspx page.

The problem with replace default.aspx etc is that the user might come in via a bookmark that hits a direct page. By hijacking their first request via session_onstart you can guarantee they'll go to your offline page, and by abandoning the session in that page their next request to go someone in your site will result in the same behaviour.


Check out this neat feature of 2.0

http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx

Taking your database driven aspx website online.

I have created an ecommerce site using aspx and sql on my local machineat home. And it's now time to take it online and put it on ourserver. Although this is the first site ive ever created usingaspx and sql server. Does anyone know any good tutorials or FAQor anything that would assist me in getting this online... It's all newto me so any help would be greatly appreciated.
Thanx
you need a hoster that supports Asp.Net AND SQL Server.
they will have specifics on how to connect to the the SQL server
You will upload all the .aspx files ( and the directories ) and then upload your .dll's to the "bin" directory
you need to tell some hosters that you are running a .Net site so that they can make your directory an application
HTH


Hello,
What you need now is to find a host then to deploy your application. Let me help you in that
1) one you have hoster, you can access your site using FTP
2) After login to FTP upload your aspx pages to wwwroot of the server
3) Upload the /bin folder to the server also to be like that wwwroot/bin
4) You should access the MSSQL and create database in a control panelthat the hoster will give you the information on how to log in and use
Finally, if u need a great host, i can recommendserverdivision.com, they are oen of the best in .NET technology
HTH
regards

Tuesday, March 13, 2012

Talking between two different web servers

I have two different servers (different ip addresses). They are running IIS. They both have access databases. The first server contains a website.

What is the simplest way to use my website to connect to the other server? My goal is to send information to the access database on the other sever. How can they communicate with one another?

Thanks

Hi,

You can create a web service on the second server. Or you can create a second web site on the second server and receive form data from the first server.


Thanks.

How can I receive data from the second server by receiving form data from the first server? Would I have to set up connection strings specifying both servers? Both servers are located in different regions and not on the same local network. For it to be possible, their IP addresses would have to be unique right? If you know of any on-line references dealing with this subject let me know.

Also these are simple MS Access databases and not MS SQL databases.